Simp module

texture_load_from_bitmap

procedure · 1 overloadSource

Uploads bitmap to the graphics card as texture. Returns false when that fails.

texture_load_from_bitmap :: (texture: *Texture, bitmap: *Bitmap) -> bool

Uploads bitmap to the graphics card as texture. Returns false when that fails.

Parameters

texture: *Texture
gets the pixels. Its old storage is replaced.
bitmap: *Bitmap

Returns

bool

See also