Function ktx2_dfd_to_texture_format

Source
pub fn ktx2_dfd_to_texture_format(
    data_format_descriptor: &BasicDataFormatDescriptor<'_>,
    sample_information: &[SampleInformation],
    is_srgb: bool,
) -> Result<TextureFormat, TextureError>