Enum gltf_json::accessor::ComponentType
[−]
pub enum ComponentType { I8, U8, I16, U16, U32, F32, }
The component data type.
Variants
I8
Corresponds to GL_BYTE
.
U8
Corresponds to GL_UNSIGNED_BYTE
.
I16
Corresponds to GL_SHORT
.
U16
Corresponds to GL_UNSIGNED_SHORT
.
U32
Corresponds to GL_UNSIGNED_INT
.
F32
Corresponds to GL_FLOAT
.
Methods
impl ComponentType
[src]
Trait Implementations
impl Clone for ComponentType
[src]
fn clone(&self) -> ComponentType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more