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

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

A typed view into a buffer view.

Methods

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

[src]

Returns the internal JSON index.

[src]

Returns the size of each component that this accessor describes.

[src]

Returns the buffer view this accessor reads from.

[src]

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

[src]

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

[src]

Returns the data type of components in the attribute.

[src]

Optional application specific data.

[src]

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

[src]

Returns the minimum value of each component in this attribute.

[src]

Returns the maximum value of each component in this attribute.

[src]

Specifies whether integer data values should be normalized.

[src]

Returns sparse storage of attributes that deviate from their initialization value.

Trait Implementations

impl<'a> Clone for Accessor<'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 Accessor<'a>
[src]

[src]

Formats the value using the given formatter.