[−][src]Function gli_rs::load_from_bytes
pub fn load_from_bytes<T>(data: Vec<u8>) -> Result<T> where
T: GliTexture,
Loads a texture(DDS, KTX or KMG) storage_linear from memory.
Return an error in case of failure.
pub fn load_from_bytes<T>(data: Vec<u8>) -> Result<T> where
T: GliTexture,
Loads a texture(DDS, KTX or KMG) storage_linear from memory.
Return an error in case of failure.