[][src]Function gli_rs::load_kmg

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

Loads a texture storage_linear from KMG (Khronos Image) file.

The file must be a valid KMG file.

Return an error in case of failure.