The size of one texel in bytes, or 0 for the block compressed formats.
assert(get_image_bytes_per_texel(.RGBA16F) == 8);
assert(get_image_bytes_per_texel(.BC1) == 0);get_image_bytes_per_texel :: (tf: Texture_Format) -> int
Parameters
- tf: Texture_Format
Returns
- int