com.jogamp.opencl
Enum CLEvent.CommandType
java.lang.Object
java.lang.Enum<CLEvent.CommandType>
com.jogamp.opencl.CLEvent.CommandType
- All Implemented Interfaces:
- Serializable, Comparable<CLEvent.CommandType>
- Enclosing class:
- CLEvent
public static enum CLEvent.CommandType
- extends Enum<CLEvent.CommandType>
Field Summary |
int |
TYPE
Value of wrapped OpenCL command type. |
NDRANGE_KERNEL
public static final CLEvent.CommandType NDRANGE_KERNEL
TASK
public static final CLEvent.CommandType TASK
NATIVE_KERNEL
public static final CLEvent.CommandType NATIVE_KERNEL
READ_BUFFER
public static final CLEvent.CommandType READ_BUFFER
WRITE_BUFFER
public static final CLEvent.CommandType WRITE_BUFFER
COPY_BUFFER
public static final CLEvent.CommandType COPY_BUFFER
READ_IMAGE
public static final CLEvent.CommandType READ_IMAGE
WRITE_IMAGE
public static final CLEvent.CommandType WRITE_IMAGE
COPY_IMAGE
public static final CLEvent.CommandType COPY_IMAGE
COPY_BUFFER_TO_IMAGE
public static final CLEvent.CommandType COPY_BUFFER_TO_IMAGE
COPY_IMAGE_TO_BUFFER
public static final CLEvent.CommandType COPY_IMAGE_TO_BUFFER
MAP_BUFFER
public static final CLEvent.CommandType MAP_BUFFER
MAP_IMAGE
public static final CLEvent.CommandType MAP_IMAGE
UNMAP_MEM_OBJECT
public static final CLEvent.CommandType UNMAP_MEM_OBJECT
MARKER
public static final CLEvent.CommandType MARKER
READ_BUFFER_RECT
public static final CLEvent.CommandType READ_BUFFER_RECT
WRITE_BUFFER_RECT
public static final CLEvent.CommandType WRITE_BUFFER_RECT
COPY_BUFFER_RECT
public static final CLEvent.CommandType COPY_BUFFER_RECT
USER
public static final CLEvent.CommandType USER
ACQUIRE_GL_OBJECTS
public static final CLEvent.CommandType ACQUIRE_GL_OBJECTS
RELEASE_GL_OBJECTS
public static final CLEvent.CommandType RELEASE_GL_OBJECTS
GL_FENCE_SYNC_OBJECT_KHR
public static final CLEvent.CommandType GL_FENCE_SYNC_OBJECT_KHR
TYPE
public final int TYPE
- Value of wrapped OpenCL command type.
values
public static CLEvent.CommandType[] 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 (CLEvent.CommandType c : CLEvent.CommandType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CLEvent.CommandType 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 CLEvent.CommandType valueOf(int commandType)