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

RGB vertex color of type [u8; 3]>.

RGBA vertex color of type [u8; 4]>.

RGB vertex color of type [u16; 3]>.

RGBA vertex color of type [u16; 4]>.

RGB vertex color of type [f32; 3].

RGBA vertex color of type [f32; 4].

Trait Implementations

impl<'a> Clone for Colors<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for Colors<'a>
[src]

Formats the value using the given formatter.