[][src]Function gli_rs::save_dds

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

Save a texture storage_linear to a DDS 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 DDS anyway but keep the requested filename extension.