Struct gltf::image::Data [−][src]
Expand description
Image data belonging to an imported glTF asset.
Fields
pixels: Vec<u8>
The image pixel data (8 bits per channel).
format: Format
The image pixel data format.
width: u32
The image height in pixels.
height: u32
The image width in pixels.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Data
impl UnwindSafe for Data
Blanket Implementations
Mutably borrows from an owned value. Read more