Struct gltf::Glb [−][src]
Expand description
Binary glTF contents.
Fields
header: HeaderThe header section of the .glb file.
json: Cow<'a, [u8]>The JSON section of the .glb file.
bin: Option<Cow<'a, [u8]>>The optional BIN section of the .glb file.
Implementations
Writes binary glTF to a writer.
Splits loaded GLB into its three chunks.
- Mandatory GLB header.
- Mandatory JSON chunk.
- Optional BIN chunk.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Glb<'a>
impl<'a> UnwindSafe for Glb<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
