Difference between revisions of "love.graphics.getStencilTest"
m |
m (→Returns) |
||
Line 13: | Line 13: | ||
None. | None. | ||
=== Returns === | === Returns === | ||
− | {{param|boolean| | + | {{param|boolean|enabled|Whether stencil testing is enabled.}} |
{{param|boolean|inverted|Whether the stencil test is inverted or not.}} | {{param|boolean|inverted|Whether the stencil test is inverted or not.}} | ||
Nothing. | Nothing. | ||
+ | |||
== See Also == | == See Also == | ||
* [[parent::love.graphics]] | * [[parent::love.graphics]] |
Revision as of 19:54, 3 October 2015
Available since LÖVE 0.10.0 |
This function is not supported in earlier versions. |
Gets whether stencil testing is enabled.
When stencil testing is enabled, the geometry of everything that is drawn will be clipped / stencilled out based on whether it intersects with what has been previously drawn to the stencil buffer.
Each Canvas has its own stencil buffer.
Function
Synopsis
enabled, inverted = love.graphics.getStencilTest( )
Arguments
None.
Returns
boolean enabled
- Whether stencil testing is enabled.
boolean inverted
- Whether the stencil test is inverted or not.
Nothing.
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