Function upload_empty

Source
pub unsafe fn upload_empty(
    gl: &Context,
    tex: Texture,
    width: u32,
    height: u32,
    ty: u32,
)
Expand description

Uploads an empty texture.

ยงSafety

Make sure ty is a valid OpenGL number type