Difference between revisions of "StackType"

m
m (Notes)
Line 5: Line 5:
 
;all: All [[love.graphics]] state, including transform state.
 
;all: All [[love.graphics]] state, including transform state.
 
== Notes ==
 
== Notes ==
Aside from the graphics transform state, the <code>all</code> enum affects the following:
+
Aside from the graphics transform state, the <code>all</code> Stack Type constant affects the following:
 
* [[love.graphics.setBackgroundColor|background color]]
 
* [[love.graphics.setBackgroundColor|background color]]
 
* [[love.graphics.setBlendMode|blend mode]]
 
* [[love.graphics.setBlendMode|blend mode]]

Revision as of 01:51, 23 March 2015

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

Graphics state stack types used with love.graphics.push.

Constants

transform
The transformation stack (love.graphics.translate, love.graphics.rotate, etc.)
all
All love.graphics state, including transform state.

Notes

Aside from the graphics transform state, the all Stack Type constant affects the following:

See Also

Other Languages