Simp module

get_image_bytes_per_texel

procedureSource

The size of one texel in bytes, or 0 for the block compressed formats.

Example↗
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

Returns

int

See also