Difference between revisions of "SpriteBatchUsage"

m
m (Added SpriteBatch as a parent)
Line 8: Line 8:
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]
 
* [[love.graphics.newSpriteBatch]]
 
* [[love.graphics.newSpriteBatch]]
* [[Constructs::SpriteBatch]]
+
* [[parent::SpriteBatch]]
 
[[Category:Enums]]
 
[[Category:Enums]]
 
{{#set:Description=Usage hints for SpriteBatches.}}
 
{{#set:Description=Usage hints for SpriteBatches.}}

Revision as of 18:40, 16 August 2013

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