Skip to main content

bytes_per_pixel

Function bytes_per_pixel 

Source
pub(crate) fn bytes_per_pixel(format: TexFormat, data_type: TexDataType) -> u32
Expand description

The bytes one pixel of format and data_type takes in client memory.