Package com.ardor3d.renderer.state
Enum Class BlendState.TestFunction
- All Implemented Interfaces:
Serializable
,Comparable<BlendState.TestFunction>
,Constable
- Enclosing class:
BlendState
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAlways passes the depth test.Pass the test if this alpha is equal to the reference alpha.Pass the test if this alpha is greater than the reference alpha.Pass the test if this alpha is greater than or equal to the reference alpha.Pass the test if this alpha is less than the reference alpha.Pass the test if this alpha is less than or equal to the reference alpha.Never passes the depth test.Pass the test if this alpha is not equal to the reference alpha. -
Method Summary
Modifier and TypeMethodDescriptionstatic BlendState.TestFunction
Returns the enum constant of this class with the specified name.static BlendState.TestFunction[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Never
Never passes the depth test. -
Always
Always passes the depth test. -
EqualTo
Pass the test if this alpha is equal to the reference alpha. -
NotEqualTo
Pass the test if this alpha is not equal to the reference alpha. -
LessThan
Pass the test if this alpha is less than the reference alpha. -
LessThanOrEqualTo
Pass the test if this alpha is less than or equal to the reference alpha. -
GreaterThan
Pass the test if this alpha is greater than the reference alpha. -
GreaterThanOrEqualTo
Pass the test if this alpha is greater than or equal to the reference alpha.
-
-
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
-