public static enum CLSampler.AddressingMode extends Enum<CLSampler.AddressingMode>
Enum Constant and Description |
---|
CLAMP |
CLAMP_TO_EDGE |
NONE |
REPEAT |
Modifier and Type | Field and Description |
---|---|
int |
MODE
Value of wrapped OpenCL sampler addressing mode type.
|
Modifier and Type | Method and Description |
---|---|
static CLSampler.AddressingMode |
valueOf(int mode) |
static CLSampler.AddressingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CLSampler.AddressingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CLSampler.AddressingMode REPEAT
public static final CLSampler.AddressingMode CLAMP_TO_EDGE
public static final CLSampler.AddressingMode CLAMP
public static final CLSampler.AddressingMode NONE
public static CLSampler.AddressingMode[] values()
for (CLSampler.AddressingMode c : CLSampler.AddressingMode.values()) System.out.println(c);
public static CLSampler.AddressingMode 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 static CLSampler.AddressingMode valueOf(int mode)