pub struct GlbLayout {
pub format: GltfContainerFormat,
pub length: u64,
pub chunks: Vec<GlbChunkDescriptor>,
}Available on crate feature
gltf-container only.Expand description
Metadata for a seekable GLB input, suitable for range-based resource loading.
Fields§
§format: GltfContainerFormatContainer version represented by this layout.
length: u64Declared total container length.
chunks: Vec<GlbChunkDescriptor>Ordered chunk descriptors.
Trait Implementations§
impl Eq for GlbLayout
impl StructuralPartialEq for GlbLayout
Auto Trait Implementations§
impl Freeze for GlbLayout
impl RefUnwindSafe for GlbLayout
impl Send for GlbLayout
impl Sync for GlbLayout
impl Unpin for GlbLayout
impl UnsafeUnpin for GlbLayout
impl UnwindSafe for GlbLayout
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more