[][src]Function gli_rs::save_ktx

pub fn save_ktx(texture: &impl GliTexture, path: impl AsRef<Path>) -> Result<()>

Save a texture storage_linear to a KTX file.

texture is texture to save.

path is the path for where to save the file. It must include the filename and filename extension.

This function ignores the filename extension in the path and save to KTX anyway but keep the requested filename extension.