Difference between revisions of "StackType"
m |
m (→Notes) |
||
(One intermediate revision 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> | + | 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 13: | Line 13: | ||
* [[love.graphics.setDefaultFilter|default filter mode]] | * [[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 18: | Line 22: | ||
* [[love.graphics.setPointSize|point size]] | * [[love.graphics.setPointSize|point size]] | ||
* [[love.graphics.setPointStyle|point style]] | * [[love.graphics.setPointStyle|point style]] | ||
− | |||
− | |||
− | |||
== 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.
Contents
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:
- background color
- blend mode
- active canvas
- current color
- color mask
- default filter mode
- active font
- scissor rectangle
- active shader
- wireframe mode
- stencil test mode
- line join mode
- line style
- line width
- point size
- point style
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info