Skip to main content

load_texture

Function load_texture 

Source
pub fn load_texture(path: &str) -> Texture
Expand description

Loads a texture from an image file using linear filtering. Panics if the file can’t be read or decoded.