public static enum ProgramStore.DepthFunc extends Enum<ProgramStore.DepthFunc>
Enum Constant and Description |
---|
ALWAYS
Always drawn
|
EQUAL
Drawn if the incoming depth value is equal to that in the
depth buffer
|
GREATER
Drawn if the incoming depth value is greater than that in the
depth buffer
|
GREATER_OR_EQUAL
Drawn if the incoming depth value is greater or equal to that
in the depth buffer
|
LESS
Drawn if the incoming depth value is less than that in the
depth buffer
|
LESS_OR_EQUAL
Drawn if the incoming depth value is less or equal to that in
the depth buffer
|
NOT_EQUAL
Drawn if the incoming depth value is not equal to that in the
depth buffer
|
Modifier and Type | Method and Description |
---|---|
static ProgramStore.DepthFunc |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProgramStore.DepthFunc[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProgramStore.DepthFunc ALWAYS
public static final ProgramStore.DepthFunc LESS
public static final ProgramStore.DepthFunc LESS_OR_EQUAL
public static final ProgramStore.DepthFunc GREATER
public static final ProgramStore.DepthFunc GREATER_OR_EQUAL
public static final ProgramStore.DepthFunc EQUAL
public static final ProgramStore.DepthFunc NOT_EQUAL
public static ProgramStore.DepthFunc[] values()
for (ProgramStore.DepthFunc c : ProgramStore.DepthFunc.values()) System.out.println(c);
public static ProgramStore.DepthFunc 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 null