public static enum CLImageFormat.ChannelOrder extends Enum<CLImageFormat.ChannelOrder> implements ValuedEnum
| Enum Constant and Description |
|---|
A
components of channel data: (0.0, 0.0, 0.0, a)
|
ARGB
components of channel data: (r, g, b, a)
|
BGRA
components of channel data: (r, g, b, a)
This format can only be used if channel data type = CL_UNORM_INT8, CL_SNORM_INT8, CL_SIGNED_INT8 or CL_UNSIGNED_INT8. |
INTENSITY
components of channel data: (I, I, I, I)
This format can only be used if channel data type = CL_UNORM_INT8, CL_UNORM_INT16, CL_SNORM_INT8, CL_SNORM_INT16, CL_HALF_FLOAT or CL_FLOAT. |
LUMINANCE
components of channel data: (L, L, L, 1.0)
This format can only be used if channel data type = CL_UNORM_INT8, CL_UNORM_INT16, CL_SNORM_INT8, CL_SNORM_INT16, CL_HALF_FLOAT or CL_FLOAT. |
R
components of channel data: (r, 0.0, 0.0, 1.0)
|
RA
components of channel data: (r, 0.0, 0.0, a)
|
RG
components of channel data: (r, g, 0.0, 1.0)
|
RGB
components of channel data: (r, g, b, 1.0)
This format can only be used if channel data type = CL_UNORM_SHORT_565, CL_UNORM_SHORT_555 or CL_UNORM_INT101010. |
RGBA
components of channel data: (r, g, b, a)
|
RGBx
components of channel data: (r, g, b, 1.0)
This format can only be used if channel data type = CL_UNORM_SHORT_565, CL_UNORM_SHORT_555 or CL_UNORM_INT101010. |
RGx
components of channel data: (r, g, 0.0, 1.0)
|
Rx
components of channel data: (r, 0.0, 0.0, 1.0)
|
| Modifier and Type | Method and Description |
|---|---|
static CLImageFormat.ChannelOrder |
getEnum(long v) |
long |
value() |
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 INTENSITY
public static final CLImageFormat.ChannelOrder LUMINANCE
public static final CLImageFormat.ChannelOrder RG
public static final CLImageFormat.ChannelOrder RGx
public static final CLImageFormat.ChannelOrder RA
public static final CLImageFormat.ChannelOrder RGB
public static final CLImageFormat.ChannelOrder RGBx
public static final CLImageFormat.ChannelOrder RGBA
public static final CLImageFormat.ChannelOrder ARGB
public static final CLImageFormat.ChannelOrder BGRA
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 long value()
value in interface ValuedEnumpublic static CLImageFormat.ChannelOrder getEnum(long v)
Copyright © 2009-2015. All Rights Reserved.