public enum JCGLStencilFunction extends Enum<JCGLStencilFunction>
Enum Constant and Description |
---|
STENCIL_ALWAYS
Stencil test always passes.
|
STENCIL_EQUAL
Passes if
(ref & mask) == (stencil & mask) . |
STENCIL_GREATER_THAN
Passes if
(ref & mask) > (stencil & mask) . |
STENCIL_GREATER_THAN_OR_EQUAL
Passes if
(ref & mask) >= (stencil & mask) . |
STENCIL_LESS_THAN
Passes if
(ref & mask) < (stencil & mask) . |
STENCIL_LESS_THAN_OR_EQUAL
Passes if
(ref & mask) <= (stencil & mask) . |
STENCIL_NEVER
Never passes.
|
STENCIL_NOT_EQUAL
Passes if
(ref & mask) != (stencil & mask) . |
Modifier and Type | Method and Description |
---|---|
static JCGLStencilFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JCGLStencilFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JCGLStencilFunction STENCIL_ALWAYS
public static final JCGLStencilFunction STENCIL_EQUAL
(ref & mask) == (stencil & mask)
.public static final JCGLStencilFunction STENCIL_GREATER_THAN
(ref & mask) > (stencil & mask)
.public static final JCGLStencilFunction STENCIL_GREATER_THAN_OR_EQUAL
(ref & mask) >= (stencil & mask)
.public static final JCGLStencilFunction STENCIL_LESS_THAN
(ref & mask) < (stencil & mask)
.public static final JCGLStencilFunction STENCIL_LESS_THAN_OR_EQUAL
(ref & mask) <= (stencil & mask)
.public static final JCGLStencilFunction STENCIL_NEVER
public static final JCGLStencilFunction STENCIL_NOT_EQUAL
(ref & mask) != (stencil & mask)
.public static JCGLStencilFunction[] values()
for (JCGLStencilFunction c : JCGLStencilFunction.values()) System.out.println(c);
public static JCGLStencilFunction 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