Difference between revisions of "StackType"

(Created page)
 
m (Notes)
 
(2 intermediate revisions by the same user not shown)
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]]
Line 11: Line 11:
 
* [[love.graphics.setColor|current color]]
 
* [[love.graphics.setColor|current color]]
 
* [[love.graphics.setColorMask|color mask]]
 
* [[love.graphics.setColorMask|color mask]]
 +
* [[love.graphics.setDefaultFilter|default filter mode]]
 
* [[love.graphics.setFont|active font]]
 
* [[love.graphics.setFont|active font]]
 +
* [[love.graphics.setScissor|scissor rectangle]]
 +
* [[love.graphics.setShader|active shader]]
 +
* [[love.graphics.setWireframe|wireframe mode]]
 +
* [[love.graphics.setStencilTest|stencil test mode]]
 
* [[love.graphics.setLineJoin|line join mode]]
 
* [[love.graphics.setLineJoin|line join mode]]
 
* [[love.graphics.setLineStyle|line style]]
 
* [[love.graphics.setLineStyle|line style]]
Line 17: Line 22:
 
* [[love.graphics.setPointSize|point size]]
 
* [[love.graphics.setPointSize|point size]]
 
* [[love.graphics.setPointStyle|point style]]
 
* [[love.graphics.setPointStyle|point style]]
* [[love.graphics.setScissor|scissor rectangle]]
 
* [[love.graphics.setShader|active shader]]
 
* [[love.graphics.setWireframe|wireframe mode]]
 
  
 
== See Also ==
 
== See Also ==

Latest revision as of 00:13, 22 December 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