public enum JCGLDepthFunction extends Enum<JCGLDepthFunction>
Enum Constant and Description |
---|
DEPTH_ALWAYS
The always-true depth function;
GL_ALWAYS |
DEPTH_EQUAL
True if the current depth value is equal to the incoming depth value;
GL_EQUAL |
DEPTH_GREATER_THAN
True if the current depth value is greater than the incoming depth value;
GL_GREATER |
DEPTH_GREATER_THAN_OR_EQUAL
True if the current depth value is greater than or equal to the incoming
depth value;
GL_GEQUAL |
DEPTH_LESS_THAN
True if the current depth value is less than the incoming depth value;
GL_LESS |
DEPTH_LESS_THAN_OR_EQUAL
True if the current depth value is less than or equal to the incoming depth
value;
GL_LEQUAL |
DEPTH_NEVER
Never true;
GL_NEVER |
DEPTH_NOT_EQUAL
True if the current depth value is not equal to the incoming depth value;
GL_NOTEQUAL |
Modifier and Type | Method and Description |
---|---|
static JCGLDepthFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JCGLDepthFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JCGLDepthFunction DEPTH_ALWAYS
GL_ALWAYS
public static final JCGLDepthFunction DEPTH_EQUAL
GL_EQUAL
public static final JCGLDepthFunction DEPTH_GREATER_THAN
GL_GREATER
public static final JCGLDepthFunction DEPTH_GREATER_THAN_OR_EQUAL
GL_GEQUAL
public static final JCGLDepthFunction DEPTH_LESS_THAN
GL_LESS
public static final JCGLDepthFunction DEPTH_LESS_THAN_OR_EQUAL
GL_LEQUAL
public static final JCGLDepthFunction DEPTH_NEVER
GL_NEVER
public static final JCGLDepthFunction DEPTH_NOT_EQUAL
GL_NOTEQUAL
public static JCGLDepthFunction[] values()
for (JCGLDepthFunction c : JCGLDepthFunction.values()) System.out.println(c);
public static JCGLDepthFunction 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