Enum gltf::mesh::Colors
[−]
[src]
pub enum Colors<'a> {
RgbU8(Iter<'a, [u8; 3]>),
RgbaU8(Iter<'a, [u8; 4]>),
RgbU16(Iter<'a, [u16; 3]>),
RgbaU16(Iter<'a, [u16; 4]>),
RgbF32(Iter<'a, [f32; 3]>),
RgbaF32(Iter<'a, [f32; 4]>),
}Vertex colors.
Variants
RgbU8(Iter<'a, [u8; 3]>)RGB vertex color of type [u8; 3]>.
RgbaU8(Iter<'a, [u8; 4]>)RGBA vertex color of type [u8; 4]>.
RgbU16(Iter<'a, [u16; 3]>)RGB vertex color of type [u16; 3]>.
RgbaU16(Iter<'a, [u16; 4]>)RGBA vertex color of type [u16; 4]>.
RgbF32(Iter<'a, [f32; 3]>)RGB vertex color of type [f32; 3].
RgbaF32(Iter<'a, [f32; 4]>)RGBA vertex color of type [f32; 4].
Trait Implementations
impl<'a> Clone for Colors<'a>[src]
fn clone(&self) -> Colors<'a>
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