Difference between revisions of "love.graphics.setInvertedStencil"
(0.8.0's setInvertedStencil function.) |
m (→Function) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{newinoldin|[[0.8.0]]|080|[[0.10.0]]|100|type=function|text=It has been replaced by [[love.graphics.stencil]] and [[love.graphics.setStencilTest]]}} |
Defines an inverted stencil for the drawing operations or releases the active one. | Defines an inverted stencil for the drawing operations or releases the active one. | ||
Line 13: | Line 13: | ||
Nothing. | Nothing. | ||
== Function == | == Function == | ||
+ | Releases the active stencil. | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
Line 21: | Line 22: | ||
=== Returns === | === Returns === | ||
Nothing. | Nothing. | ||
− | + | ||
− | |||
== See Also == | == See Also == | ||
* [[parent::love.graphics]] | * [[parent::love.graphics]] | ||
Line 30: | Line 30: | ||
{{#set:Description=Defines an inverted stencil.}} | {{#set:Description=Defines an inverted stencil.}} | ||
{{#set:Since=080}} | {{#set:Since=080}} | ||
+ | {{#set:Sub-Category=State}} | ||
== Other Languages == | == Other Languages == | ||
{{i18n|love.graphics.setInvertedStencil}} | {{i18n|love.graphics.setInvertedStencil}} |
Latest revision as of 04:09, 26 September 2016
Available since LÖVE 0.8.0 and removed in LÖVE 0.10.0 |
It has been replaced by love.graphics.stencil and love.graphics.setStencilTest. |
Defines an inverted stencil for the drawing operations or releases the active one.
It's the same as love.graphics.setStencil with the mask inverted.
Contents
Function
Synopsis
love.graphics.setInvertedStencil( stencilFunction )
Arguments
function stencilFunction
- Function that draws the stencil.
Returns
Nothing.
Function
Releases the active stencil.
Synopsis
love.graphics.setInvertedStencil( )
Arguments
None.
Returns
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