public enum JCGLStencilOperation extends Enum<JCGLStencilOperation>
Enum Constant and Description |
---|
STENCIL_OP_DECREMENT
Decrements the current stencil buffer value.
|
STENCIL_OP_DECREMENT_WRAP
Decrements the current stencil buffer value.
|
STENCIL_OP_INCREMENT
Increments the current stencil buffer value.
|
STENCIL_OP_INCREMENT_WRAP
Increments the current stencil buffer value.
|
STENCIL_OP_INVERT
Bitwise inverts the current stencil buffer value.
|
STENCIL_OP_KEEP
Keeps the current value.
|
STENCIL_OP_REPLACE
Sets the stencil buffer value to ref, as specified by
.JCGLStencilBuffersType#stencilBufferFunction(JCGLFaceSelection,
JCGLStencilFunction, int, int) . |
STENCIL_OP_ZERO
Sets the stencil buffer value to 0.
|
Modifier and Type | Method and Description |
---|---|
static JCGLStencilOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JCGLStencilOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JCGLStencilOperation STENCIL_OP_DECREMENT
public static final JCGLStencilOperation STENCIL_OP_DECREMENT_WRAP
public static final JCGLStencilOperation STENCIL_OP_INCREMENT
public static final JCGLStencilOperation STENCIL_OP_INCREMENT_WRAP
public static final JCGLStencilOperation STENCIL_OP_INVERT
public static final JCGLStencilOperation STENCIL_OP_KEEP
public static final JCGLStencilOperation STENCIL_OP_REPLACE
.JCGLStencilBuffersType#stencilBufferFunction(JCGLFaceSelection,
JCGLStencilFunction, int, int)
.public static final JCGLStencilOperation STENCIL_OP_ZERO
public static JCGLStencilOperation[] values()
for (JCGLStencilOperation c : JCGLStencilOperation.values()) System.out.println(c);
public static JCGLStencilOperation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017 <code@io7m.com> http://io7m.com