Function glow::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)