public static enum Sampler.Value extends Enum<Sampler.Value>
Enum Constant and Description |
---|
CLAMP |
LINEAR |
LINEAR_MIP_LINEAR |
LINEAR_MIP_NEAREST |
NEAREST |
WRAP |
Modifier and Type | Method and Description |
---|---|
static Sampler.Value |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Sampler.Value[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Sampler.Value NEAREST
public static final Sampler.Value LINEAR
public static final Sampler.Value LINEAR_MIP_LINEAR
public static final Sampler.Value LINEAR_MIP_NEAREST
public static final Sampler.Value WRAP
public static final Sampler.Value CLAMP
public static Sampler.Value[] values()
for (Sampler.Value c : Sampler.Value.values()) System.out.println(c);
public static Sampler.Value 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 null