Package com.ardor3d.renderer.state
Enum Class ZBufferState.TestFunction
- All Implemented Interfaces:
Serializable
,Comparable<ZBufferState.TestFunction>
,Constable
- Enclosing class:
ZBufferState
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDepth comparison always passes.Passes if the incoming value is the same as the stored value.Passes if the incoming value is greater than the stored value.Passes if the incoming value is greater than or equal to the stored value.Passes if the incoming value is less than the stored value.Passes if the incoming value is less than or equal to the stored value.Depth comparison never passes.Passes if the incoming value is not equal to the stored value. -
Method Summary
Modifier and TypeMethodDescriptionstatic ZBufferState.TestFunction
Returns the enum constant of this class with the specified name.static ZBufferState.TestFunction[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Never
Depth comparison never passes. -
Always
Depth comparison always passes. -
EqualTo
Passes if the incoming value is the same as the stored value. -
NotEqualTo
Passes if the incoming value is not equal to the stored value. -
LessThan
Passes if the incoming value is less than the stored value. -
LessThanOrEqualTo
Passes if the incoming value is less than or equal to the stored value. -
GreaterThan
Passes if the incoming value is greater than the stored value. -
GreaterThanOrEqualTo
Passes if the incoming value is greater than or equal to the stored value.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-