mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Rename 'defineMask' to 'newMask'. Add inverted mask (issue #226).
This commit is contained in:
@@ -242,8 +242,10 @@ namespace opengl
|
||||
/**
|
||||
* Set stencil function to mask the following drawing calls using
|
||||
* the current stencil buffer
|
||||
* @param invert Invert the mask, i.e. draw everywhere expect where
|
||||
* the mask is defined.
|
||||
*/
|
||||
void useMask();
|
||||
void useMask(bool invert = false);
|
||||
|
||||
/**
|
||||
* Disables the stencil buffer
|
||||
|
||||
Reference in New Issue
Block a user