Enum gltf::accessor::sparse::IndexType[][src]

pub enum IndexType {
    U8,
    U16,
    U32,
}

The index data type.

Variants

Corresponds to GL_UNSIGNED_BYTE.

Corresponds to GL_UNSIGNED_SHORT.

Corresponds to GL_UNSIGNED_INT.

Methods

impl IndexType
[src]

Returns the number of bytes this value represents.

Trait Implementations

impl Clone for IndexType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for IndexType
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for IndexType

impl Sync for IndexType