Struct sc2::ImageData
[−]
[src]
pub struct ImageData { pub bits_per_pixel: i32, pub data: Vec<u8>, pub width: i32, pub height: i32, }
data used to sample the current state of the map at certain points
Fields
bits_per_pixel: i32
number of bits to interpret as a pixel in the data
data: Vec<u8>
raw image data
width: i32
width of the image
height: i32
height of the image