Struct gltf::accessor::Accessor [] [src]

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

A typed view into a buffer view.

Methods

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

Constructs an Accessor.

Converts an Accessor into a Loaded<Accessor>.

Returns the internal JSON index.

Returns the size of each component that this accessor describes.

Returns the internal JSON item.

The parent buffer view this accessor reads from.

The offset relative to the start of the parent buffer view in bytes.

The number of components within the buffer view - not to be confused with the number of bytes in the buffer view.

The data type of components in the attribute.

Optional application specific data.

Specifies if the attribute is a scalar, vector, or matrix.

Minimum value of each component in this attribute.

Maximum value of each component in this attribute.

Specifies whether integer data values should be normalized.

Sparse storage of attributes that deviate from their initialization value.

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter.