Difference between revisions of "BufferDataUsage"

(Added SpriteBatch usage hint wiki page)
 
m
Line 11: Line 11:
 
[[Category:Enums]]
 
[[Category:Enums]]
 
{{#set:Description=Usage hints for SpriteBatches.}}
 
{{#set:Description=Usage hints for SpriteBatches.}}
 +
{{#set:Since=080}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|SpriteBatchUsage}}
 
{{i18n|SpriteBatchUsage}}

Revision as of 13:01, 14 February 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