|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CLMemory.Map>
com.jogamp.opencl.CLMemory.Map
public static enum CLMemory.Map
Configures the mapping process.
CLCommandQueue.putMapBuffer(CLBuffer, com.jogamp.opencl.CLMemory.Map, boolean).
,
CLCommandQueue.putMapImage(CLImage2d, com.jogamp.opencl.CLMemory.Map, boolean)
,
CLCommandQueue.putMapImage(CLImage3d, com.jogamp.opencl.CLMemory.Map, boolean)
Enum Constant Summary | |
---|---|
READ
Enum representing CL_MAP_READ. |
|
READ_WRITE
Enum representing CL_MAP_READ | CL_MAP_WRITE. |
|
WRITE
Enum representing CL_MAP_WRITE. |
Field Summary | |
---|---|
int |
FLAGS
Value of wrapped OpenCL flag. |
Method Summary | |
---|---|
CLMemory.Map |
valueOf(int flag)
|
static CLMemory.Map |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CLMemory.Map[] |
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 |
---|
public static final CLMemory.Map READ_WRITE
public static final CLMemory.Map WRITE
public static final CLMemory.Map READ
Field Detail |
---|
public final int FLAGS
Method Detail |
---|
public static CLMemory.Map[] values()
for (CLMemory.Map c : CLMemory.Map.values()) System.out.println(c);
public static CLMemory.Map valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic CLMemory.Map valueOf(int flag)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |