|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CLImageFormat.ChannelOrder>
com.jogamp.opencl.CLImageFormat.ChannelOrder
public static enum CLImageFormat.ChannelOrder
Specifies the number of channels and the channel layout i.e. the memory layout in which channels are stored in the image.
Field Summary | |
---|---|
int |
ORDER
Value of wrapped OpenCL flag. |
Method Summary | |
---|---|
static CLImageFormat.ChannelOrder |
valueOf(int orderFlag)
|
static CLImageFormat.ChannelOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CLImageFormat.ChannelOrder[] |
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 CLImageFormat.ChannelOrder R
public static final CLImageFormat.ChannelOrder Rx
public static final CLImageFormat.ChannelOrder A
public static final CLImageFormat.ChannelOrder RG
public static final CLImageFormat.ChannelOrder RGx
public static final CLImageFormat.ChannelOrder RA
public static final CLImageFormat.ChannelOrder RGB
CLImageFormat.ChannelType.UNORM_SHORT_565
, CLImageFormat.ChannelType.UNORM_SHORT_555
or CLImageFormat.ChannelType.UNORM_INT_101010
.
public static final CLImageFormat.ChannelOrder RGBx
public static final CLImageFormat.ChannelOrder RGBA
public static final CLImageFormat.ChannelOrder ARGB
CLImageFormat.ChannelType.UNORM_INT8
, CLImageFormat.ChannelType.SNORM_INT8
, CLImageFormat.ChannelType.SIGNED_INT8
or CLImageFormat.ChannelType.UNSIGNED_INT8
.
public static final CLImageFormat.ChannelOrder BGRA
ARGB
public static final CLImageFormat.ChannelOrder INTENSITY
CLImageFormat.ChannelType.UNORM_INT8
, CLImageFormat.ChannelType.UNORM_INT16
, CLImageFormat.ChannelType.SNORM_INT8
,
CLImageFormat.ChannelType.SNORM_INT16
, CLImageFormat.ChannelType.HALF_FLOAT
, or CLImageFormat.ChannelType.FLOAT
.
public static final CLImageFormat.ChannelOrder LUMINANCE
CLImageFormat.ChannelType.UNORM_INT8
, CLImageFormat.ChannelType.UNORM_INT16
, CLImageFormat.ChannelType.SNORM_INT8
,
CLImageFormat.ChannelType.SNORM_INT16
, CLImageFormat.ChannelType.HALF_FLOAT
, or CLImageFormat.ChannelType.FLOAT
.
Field Detail |
---|
public final int ORDER
Method Detail |
---|
public static CLImageFormat.ChannelOrder[] values()
for (CLImageFormat.ChannelOrder c : CLImageFormat.ChannelOrder.values()) System.out.println(c);
public static CLImageFormat.ChannelOrder 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 static CLImageFormat.ChannelOrder valueOf(int orderFlag)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |