[][src]Function gli_rs::load_ktx

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

Loads a texture storage_linear from KTX file.

The file must be a valid KTX file.

Return an error in case of failure.