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

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

A typed view into a buffer view.

Methods

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

Returns the internal JSON index.

Returns the size of each component that this accessor describes.

Returns the buffer view this accessor reads from.

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

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

Returns the data type of components in the attribute.

Optional application specific data.

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

Returns the minimum value of each component in this attribute.

Returns the maximum value of each component in this attribute.

Optional user-defined name for this object.

Specifies whether integer data values should be normalized.

Returns 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. Read more

Auto Trait Implementations

impl<'a> Send for Accessor<'a>

impl<'a> Sync for Accessor<'a>