Skip to main content

store_row

Function store_row 

Source
pub unsafe fn store_row(dst: *mut u8, bpp_bytes: usize, colors: &[u32])
Expand description

Store a row of colors (one u32 per pixel) into the framebuffer.

ยงSafety

dst must point to colors.len() * bytes_per_pixel(bpp) writable bytes inside a mapped framebuffer row.