Function load_texture_from_memory

Source
pub fn load_texture_from_memory(
    identifier: impl AsRef<str>,
    data: impl AsRef<[u8]>,
    callback: Option<RawTextureReceiveCallback>,
)
Expand description

Loads a texture from the given memory. /// You can create a RawTextureReceiveCallback using the texture_receive macro.