[go: up one dir, main page]

Struct gltf::gltf::Unvalidated [] [src]

pub struct Unvalidated(_);

Represents glTF that hasn't been validated yet.

Methods

impl Unvalidated
[src]

[src]

Returns the unvalidated JSON.

[src]

Skip validation. Using this is highly recommended against as malformed glTF assets might lead to program panics, huge values, NaNs and general evil deeds.

Panics

This function does not panic, but might cause an inherent panic later in your program during reading of the malformed asset.

[src]

Validates only the invariants required for the library to function safely.

[src]

Validates the data against the glTF 2.0 specification.