public static enum CLImageFormat.ChannelOrder extends Enum<CLImageFormat.ChannelOrder>
Modifier and Type | Field and Description |
---|---|
int |
ORDER
Value of wrapped OpenCL flag.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
.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 nameNullPointerException
- if the argument is nullpublic static CLImageFormat.ChannelOrder valueOf(int orderFlag)