Skip to main content

load_texture_linear

Function load_texture_linear 

Source
pub fn load_texture_linear(world: &mut World, name: &str, image_bytes: &[u8])
Expand description

Registers a texture under name in linear space, for data that is not color: normal maps, metallic-roughness maps, and ambient occlusion. Same lifetime as load_texture.