Skip to main content

load_texture_from_bytes

Function load_texture_from_bytes 

Source
pub fn load_texture_from_bytes(bytes: &[u8]) -> Texture
Expand description

Loads a texture from encoded image bytes (e.g. include_bytes!) using linear filtering.