|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.newdawn.slick.util.MaskUtil
public class MaskUtil
A utility to provide full screen masking
Field Summary | |
---|---|
protected static SGL |
GL
The renderer to use for all GL operations |
Constructor Summary | |
---|---|
MaskUtil()
|
Method Summary | |
---|---|
static void |
defineMask()
Start defining the screen mask. |
static void |
drawOffMask()
Start drawing only off the masked area |
static void |
drawOnMask()
Start drawing only on the masked area |
static void |
finishDefineMask()
Finish defining the screen mask |
static void |
resetMask()
Reset the masked area - should be done after you've finished rendering |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static SGL GL
Constructor Detail |
---|
public MaskUtil()
Method Detail |
---|
public static void defineMask()
public static void finishDefineMask()
public static void drawOnMask()
public static void drawOffMask()
public static void resetMask()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |