Skip to main content

read_pixels_bytes_per_pixel

Function read_pixels_bytes_per_pixel 

Source
fn read_pixels_bytes_per_pixel(format: u32, pixel_type: u32) -> usize
Expand description

Returns the bytes per pixel of a readPixels format and type, including the integer formats and the packed types that glow’s size helpers reject.