pub fn ktx2_format_to_texture_format(
ktx2_format: Format,
is_srgb: bool,
) -> Result<TextureFormat, TextureError>Expand description
Converts a KTX2 texture format identifier to a TextureFormat.
ยงErrors
Returns an error for unsupported texture formats.