[][src]Function gli_rs::load

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

Loads a texture storage_linear from file.

The file must be a valid (DDS, KTX or KMG) file.

Return an error in case of failure.