Struct glium::texture::RawImage1d
[−]
[src]
pub struct RawImage1d<'a, T: Clone + 'a> {
pub data: Cow<'a, [T]>,
pub width: u32,
pub format: ClientFormat,
}Represents raw data for a two-dimensional image.
Fields
data | A contiguous array of pixel data. The data must start by the left pixel and progress left-to-right.
|
width | Number of pixels per column. |
format | Formats of the pixels. |