com.jogamp.opencl
Enum CLMemory.GLObjectType
java.lang.Object
java.lang.Enum<CLMemory.GLObjectType>
com.jogamp.opencl.CLMemory.GLObjectType
- All Implemented Interfaces:
- Serializable, Comparable<CLMemory.GLObjectType>
- Enclosing class:
- CLMemory<B extends Buffer>
public static enum CLMemory.GLObjectType
- extends Enum<CLMemory.GLObjectType>
GL_OBJECT_BUFFER
public static final CLMemory.GLObjectType GL_OBJECT_BUFFER
GL_OBJECT_TEXTURE2D
public static final CLMemory.GLObjectType GL_OBJECT_TEXTURE2D
GL_OBJECT_TEXTURE3D
public static final CLMemory.GLObjectType GL_OBJECT_TEXTURE3D
GL_OBJECT_RENDERBUFFER
public static final CLMemory.GLObjectType GL_OBJECT_RENDERBUFFER
TYPE
public final int TYPE
values
public static CLMemory.GLObjectType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (CLMemory.GLObjectType c : CLMemory.GLObjectType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CLMemory.GLObjectType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
valueOf
public static CLMemory.GLObjectType valueOf(int type)