SpriteBatchUsage

Available since LÖVE 0.8.0
This enum is not supported in earlier versions.

Usage hints for SpriteBatches to optimize sprite data storage on the GPU.

Constants

dynamic
The SpriteBatch data will change repeatedly during its lifetime.
static
The SpriteBatch will not be modified after initial sprites are added.
stream
The SpriteBatch data will always change between draws.

See Also


Other Languages

Personal tools