Difference between revisions of "love.graphics.setInvertedStencil"

m
m
Line 1: Line 1:
{{newin|[[0.8.0]]|080|type=function}}
+
{{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.
  

Revision as of 18:23, 27 December 2015

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.

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