Module macroquad::texture

source ·
Expand description

Loading and rendering textures. Also render textures, per-pixel image manipulations.

Structs

Enums

Functions

  • Build an atlas out of all currently loaded texture Later on all draw_texture calls with texture available in the atlas will use the one from the atlas NOTE: the GPU memory and texture itself in Texture2D will still be allocated and Texture->Image conversions will work with Texture2D content, not the atlas
  • Get pixel data from screen buffer and return an Image (screenshot)
  • Loads an Image from a file into CPU memory.
  • Loads a Texture2D from a file into GPU memory.