format_texel_block_extent

Function format_texel_block_extent 

Source
pub const fn format_texel_block_extent(vk_format: Format) -> (u32, u32)
Expand description

Returns the extent of a block of texels for the given Vulkan format. Uncompressed formats typically have a block extent of (1, 1). See Representation and Texel Block Size