Struct gltf::image::Data [−][src]
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
impl Clone for Data
[src]
impl Clone for Data
fn clone(&self) -> Data
[src]
fn clone(&self) -> Data
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Data
[src]
impl Debug for Data