Package 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>
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description int
TYPE
Value of wrapped OpenCL command type.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CLEvent.CommandType
valueOf(int commandType)
Returns the enum constant of this type with the specified name.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.
-
-
-
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
-
-
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 nameNullPointerException
- if the argument is null
-
valueOf
public static CLEvent.CommandType valueOf(int commandType)
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:
commandType
- 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 nameNullPointerException
- if the argument is null
-
-