[][src]Function gli_rs::load_dds

pub fn load_dds<T>(path: impl AsRef<Path>) -> Result<T> where
    T: GliTexture

Loads a texture storage_linear from DDS file.

The file must be a valid DDS file.

Return an error in case of failure.