Uploads bitmap to the graphics card as texture. Returns false when that fails.
- texture: gets the pixels. Its old storage is replaced.
texture_load_from_bitmap :: (texture: *Texture, bitmap: *Bitmap) -> bool
Uploads bitmap to the graphics card as texture. Returns false when that fails.
Parameters
Returns
- bool