glow

Function bytes_per_type

Source
pub fn bytes_per_type(pixel_type: u32) -> usize
Expand description

Returns number of bytes used by pixel type (in one component)