public enum CompareMode extends java.lang.Enum<CompareMode>
| Enum Constant and Description |
|---|
Hardware
Shadow depth comparisons are done by using the GPU's dedicated shadowing
pipeline.
|
Software
Shadow depth comparisons are done by using shader code
|
| Modifier and Type | Method and Description |
|---|---|
static CompareMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompareMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompareMode Software
public static final CompareMode Hardware
public static CompareMode[] values()
for (CompareMode c : CompareMode.values()) System.out.println(c);
public static CompareMode 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