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 internal JSON item.

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 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.