public static enum CLMem.ObjectType extends Enum<CLMem.ObjectType> implements ValuedEnum
| Modifier and Type | Method and Description |
|---|---|
static CLMem.ObjectType |
getEnum(long v) |
long |
value() |
static CLMem.ObjectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CLMem.ObjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CLMem.ObjectType Buffer
public static final CLMem.ObjectType Image2D
public static final CLMem.ObjectType Image3D
public static CLMem.ObjectType[] values()
for (CLMem.ObjectType c : CLMem.ObjectType.values()) System.out.println(c);
public static CLMem.ObjectType 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 CLMem.ObjectType getEnum(long v)
Copyright © 2009-2015. All Rights Reserved.