public enum DepthFunction extends Enum<DepthFunction> implements IEnumWithValue
| Enum Constant and Description |
|---|
ALWAYS
Always pass.
|
EQUAL
Pass if the incoming value equals the the depth buffer value.
|
GEQUAL
Pass if the incoming value is greater than or equal to the depth buffer value.
|
GREATER
Pass if the incoming value is greater than the depth buffer value.
|
LEQUAL
Pass if the incoming value is less than or equal to the depth buffer value.
|
LESS
Pass if the incoming value is less than the depth buffer value.
|
NEVER
Never pass.
|
NOTEQUAL
Pass if the incoming value is not equal to the depth buffer value.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static DepthFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DepthFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOffromValue, transformForClientpublic static final DepthFunction ALWAYS
public static final DepthFunction EQUAL
public static final DepthFunction GEQUAL
public static final DepthFunction GREATER
public static final DepthFunction LEQUAL
public static final DepthFunction LESS
public static final DepthFunction NEVER
public static final DepthFunction NOTEQUAL
public static DepthFunction[] values()
for (DepthFunction c : DepthFunction.values()) System.out.println(c);
public static DepthFunction 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 nullpublic int value()
value in interface IEnumWithValueCopyright © 2018 Regenstrief Center for Biomedical Informatics. All rights reserved.