pub fn ktx2_get_texture_format<Data>( ktx2: &Reader<Data>, is_srgb: bool, ) -> Result<TextureFormat, TextureError>where Data: AsRef<[u8]>,