public static enum CLMemory.GLObjectType extends Enum<CLMemory.GLObjectType>
Enum Constant and Description |
---|
GL_OBJECT_BUFFER |
GL_OBJECT_RENDERBUFFER |
GL_OBJECT_TEXTURE2D |
GL_OBJECT_TEXTURE3D |
Modifier and Type | Field and Description |
---|---|
int |
TYPE |
Modifier and Type | Method and Description |
---|---|
static CLMemory.GLObjectType |
valueOf(int type) |
static CLMemory.GLObjectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CLMemory.GLObjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CLMemory.GLObjectType GL_OBJECT_BUFFER
public static final CLMemory.GLObjectType GL_OBJECT_TEXTURE2D
public static final CLMemory.GLObjectType GL_OBJECT_TEXTURE3D
public static final CLMemory.GLObjectType GL_OBJECT_RENDERBUFFER
public static CLMemory.GLObjectType[] values()
for (CLMemory.GLObjectType c : CLMemory.GLObjectType.values()) System.out.println(c);
public static CLMemory.GLObjectType 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 CLMemory.GLObjectType valueOf(int type)