Struct engiffen::Image
[−]
[src]
pub struct Image { pub pixels: Vec<[u8; 4]>, pub width: u32, pub height: u32, }
An image, currently a wrapper around image::DynamicImage
. If loaded from
disk through the load_image
or load_images
functions, its path property
contains the path used to read it from disk.
Fields
pixels: Vec<[u8; 4]>
width: u32
height: u32