Skip to main content

gpu_create_texture

Function gpu_create_texture 

Source
pub fn gpu_create_texture(width: u32, height: u32) -> u32
Expand description

Create a 2D RGBA8 texture. Returns a handle (0 = failure).