Rename 'defineMask' to 'newMask'. Add inverted mask (issue #226).

This commit is contained in:
vrld
2011-05-30 14:45:33 +02:00
parent eb90e08b0d
commit 30d6968ef9
3 changed files with 20 additions and 7 deletions
+3 -1
View File
@@ -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