Enum uefi::proto::console::gop::PixelFormat [−][src]
#[repr(u32)]
pub enum PixelFormat {
Rgb,
Bgr,
Bitmask,
BltOnly,
}Expand description
Represents the format of the pixels in a frame buffer.
Variants
Each pixel is 32-bit long, with 24-bit RGB, and the last byte is reserved.
Each pixel is 32-bit long, with 24-bit BGR, and the last byte is reserved.
Custom pixel format, check the associated bitmask.
The graphics mode does not support drawing directly to the frame buffer.
This means you will have to use the blt function which will
convert the graphics data to the device’s internal pixel format.