ktx2_dfd_header_to_texture_format

Function ktx2_dfd_header_to_texture_format 

Source
pub fn ktx2_dfd_header_to_texture_format(
    data_format_descriptor: &DfdBlockHeaderBasic,
    sample_information: &[SampleInformation],
    is_srgb: bool,
) -> Result<TextureFormat, TextureError>