public enum SetHint extends Enum<SetHint> implements Enumeration
Enum Constant and Description |
---|
FREQUENT
Rendering is optimized for streaming geometry.
|
INFREQUENT
Rendering is optimized for static geometry.
|
PARTIAL
Rendering is optimized for dynamic geometry.
|
Modifier and Type | Method and Description |
---|---|
static SetHint |
getDefault()
Get the enum constant that is considered to be the default.
|
static SetHint |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static SetHint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SetHint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SetHint INFREQUENT
public static final SetHint PARTIAL
public static final SetHint FREQUENT
public static SetHint[] values()
for (SetHint c : SetHint.values()) System.out.println(c);
public static SetHint 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 getValue()
getValue
in interface Enumeration
@Nonnull public static SetHint getFromValue(int value)
value
- a numeric value.