Module macroquad::texture[][src]

Expand description

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

Structs

Image, data stored in CPU memory

Texture, data stored in GPU memory

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.