Enum gltf_json::accessor::ComponentType []

pub enum ComponentType {
    I8,
    U8,
    I16,
    U16,
    U32,
    F32,
}

The component data type.

Variants

Corresponds to GL_BYTE.

Corresponds to GL_UNSIGNED_BYTE.

Corresponds to GL_SHORT.

Corresponds to GL_UNSIGNED_SHORT.

Corresponds to GL_UNSIGNED_INT.

Corresponds to GL_FLOAT.

Methods

impl ComponentType
[src]

Returns the number of bytes this value represents.

Trait Implementations

impl Clone for ComponentType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for ComponentType
[src]

impl Debug for ComponentType
[src]

Formats the value using the given formatter.