public static enum CLSampler.AddressingMode extends Enum<CLSampler.AddressingMode> implements ValuedEnum
| Enum Constant and Description |
|---|
Clamp |
ClampToEdge |
None |
Repeat |
| Modifier and Type | Method and Description |
|---|---|
static CLSampler.AddressingMode |
getEnum(long v) |
long |
value() |
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 ClampToEdge
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 long value()
value in interface ValuedEnumpublic static CLSampler.AddressingMode getEnum(long v)
Copyright © 2009-2015. All Rights Reserved.