[][src]Function gli_rs::save

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

Save a texture storage_linear file.

texture is texture to save.

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

The function use the filename extension included in the path to figure out the file container to use.