pub(crate) fn bytes_per_pixel(format: TexFormat, data_type: TexDataType) -> u32Expand description
The bytes one pixel of format and data_type takes in client memory.
pub(crate) fn bytes_per_pixel(format: TexFormat, data_type: TexDataType) -> u32The bytes one pixel of format and data_type takes in client memory.