public static enum Texture.ShadowCompareMode extends java.lang.Enum<Texture.ShadowCompareMode>
Enum Constant and Description |
---|
GreaterOrEqual
{@code
Compares the 3rd texture coordinate R to the value
in this depth texture.
|
LessOrEqual
{@code
Compares the 3rd texture coordinate R to the value
in this depth texture.
|
Off
Shadow comparison mode is disabled.
|
Modifier and Type | Method and Description |
---|---|
static Texture.ShadowCompareMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Texture.ShadowCompareMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Texture.ShadowCompareMode Off
public static final Texture.ShadowCompareMode LessOrEqual
Compares the 3rd texture coordinate R to the value
in this depth texture. If R <= texture value then result is 1.0,
otherwise, result is 0.0. If filtering is set to bilinear or trilinear
the implementation may sample the texture multiple times to provide
smoother results in the range [0, 1].
public static final Texture.ShadowCompareMode GreaterOrEqual
Compares the 3rd texture coordinate R to the value
in this depth texture. If R >= texture value then result is 1.0,
otherwise, result is 0.0. If filtering is set to bilinear or trilinear
the implementation may sample the texture multiple times to provide
smoother results in the range [0, 1].
public static Texture.ShadowCompareMode[] values()
for (Texture.ShadowCompareMode c : Texture.ShadowCompareMode.values()) System.out.println(c);
public static Texture.ShadowCompareMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null