pub fn ktx2_dfd_to_texture_format(
data_format_descriptor: &BasicDataFormatDescriptor<'_>,
sample_information: &[SampleInformation],
is_srgb: bool,
) -> Result<TextureFormat, TextureError>
Available on crate feature
ktx2
only.