fn read_pixels_bytes_per_pixel(format: u32, pixel_type: u32) -> usize
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.
readPixels