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]

[src]

Returns the internal JSON index.

[src]

Returns the parent Buffer.

[src]

Returns the length of the buffer view in bytes.

[src]

Returns the offset into the parent buffer in bytes.

[src]

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

[src]

Optional target the buffer should be bound to.

[src]

Optional application specific data.

Trait Implementations

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter.