Enum gltf::accessor::DataType [] [src]

pub enum DataType {
    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]

[src]

Returns the number of bytes this value represents.

Trait Implementations

impl Copy for ComponentType
[src]

impl Clone for ComponentType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'de> Deserialize<'de> for ComponentType
[src]

[src]

impl Debug for ComponentType
[src]

[src]

Formats the value using the given formatter.