Struct gltf::buffer::View[][src]

pub struct View<'a> { /* fields omitted */ }

A view into a buffer generally representing a subset of the buffer.

Methods

impl<'a> View<'a>
[src]

Returns the internal JSON index.

Returns the parent Buffer.

Returns the length of the buffer view in bytes.

Returns the offset into the parent buffer in bytes.

Returns the stride in bytes between vertex attributes or other interleavable data. When None, data is assumed to be tightly packed.

Optional user-defined name for this object.

Optional target the buffer should be bound to.

Optional application specific data.

Trait Implementations

impl<'a> Clone for View<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for View<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for View<'a>

impl<'a> Sync for View<'a>