com.jogamp.opencl
Enum CLEvent.CommandType

java.lang.Object
  extended by java.lang.Enum<CLEvent.CommandType>
      extended by com.jogamp.opencl.CLEvent.CommandType
All Implemented Interfaces:
Serializable, Comparable<CLEvent.CommandType>
Enclosing class:
CLEvent

public static enum CLEvent.CommandType
extends Enum<CLEvent.CommandType>


Enum Constant Summary
ACQUIRE_GL_OBJECTS
           
COPY_BUFFER
           
COPY_BUFFER_RECT
           
COPY_BUFFER_TO_IMAGE
           
COPY_IMAGE
           
COPY_IMAGE_TO_BUFFER
           
GL_FENCE_SYNC_OBJECT_KHR
           
MAP_BUFFER
           
MAP_IMAGE
           
MARKER
           
NATIVE_KERNEL
           
NDRANGE_KERNEL
           
READ_BUFFER
           
READ_BUFFER_RECT
           
READ_IMAGE
           
RELEASE_GL_OBJECTS
           
TASK
           
UNMAP_MEM_OBJECT
           
USER
           
WRITE_BUFFER
           
WRITE_BUFFER_RECT
           
WRITE_IMAGE
           
 
Field Summary
 int TYPE
          Value of wrapped OpenCL command type.
 
Method Summary
static CLEvent.CommandType valueOf(int commandType)
           
static CLEvent.CommandType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CLEvent.CommandType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Field Detail

TYPE

public final int TYPE
Value of wrapped OpenCL command type.

Method Detail

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)