Difference between revisions of "love.graphics.setInvertedStencil"

(0.8.0's setInvertedStencil function.)
 
m
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}}

Revision as of 01:00, 29 March 2013

Available since LÖVE 0.8.0
This function is not supported in earlier versions.

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.

Function

Synopsis

love.graphics.setInvertedStencil( stencilFunction )

Arguments

function stencilFunction
Function that draws the stencil.

Returns

Nothing.

Function

Synopsis

love.graphics.setInvertedStencil( )

Arguments

None.

Returns

Nothing.

Notes

Releases the active stencil.

See Also


Other Languages