Struct gltf::image::Data[][src]

pub struct Data {
    pub pixels: Vec<u8>,
    pub format: Format,
    pub width: u32,
    pub height: u32,
}

Image data belonging to an imported glTF asset.

Fields

The image pixel data (8 bits per channel).

The image pixel data format.

The image height in pixels.

The image width in pixels.

Trait Implementations

impl Clone for Data
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Data
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Data

impl Sync for Data