pub struct RawFrameBuffer<'screen> {
pub ptr: *mut u8,
pub width: usize,
pub height: usize,
/* private fields */
}Expand description
Representation of a framebuffer for one Side of the top screen, or the entire bottom screen.
The inner pointer is only valid for one frame if double
buffering is enabled. Data written to ptr will be rendered to the screen.
Fields§
§ptr: *mut u8Pointer to graphics data to be rendered.
width: usizeThe width of the framebuffer in pixels.
height: usizeThe height of the framebuffer in pixels.