Enum gltf::image::Format [−][src]
pub enum Format {
R8,
R8G8,
R8G8B8,
R8G8B8A8,
B8G8R8,
B8G8R8A8,
R16,
R16G16,
R16G16B16,
R16G16B16A16,
}
Expand description
Format of image pixel data.
Variants
R8
Red only.
R8G8
Red, green.
R8G8B8
Red, green, blue.
R8G8B8A8
Red, green, blue, alpha.
B8G8R8
Blue, green, red.
B8G8R8A8
Blue, green, red, alpha.
R16
Red only (16 bits).
R16G16
Red, green (16 bits).
R16G16B16
Red, green, blue (16 bits).
R16G16B16A16
Red, green, blue, alpha (16 bits).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Format
impl UnwindSafe for Format
Blanket Implementations
Mutably borrows from an owned value. Read more