|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CLImageFormat.ChannelType>
com.jogamp.opencl.CLImageFormat.ChannelType
public static enum CLImageFormat.ChannelType
Describes the size of the channel data type.
Enum Constant Summary | |
---|---|
FLOAT
Each channel component is a single precision floating-point value. |
|
HALF_FLOAT
Each channel component is a 16-bit half-float value. |
|
SIGNED_INT16
Each channel component is an unnormalized signed 16-bit integer value. |
|
SIGNED_INT32
Each channel component is an unnormalized signed 32-bit integer value. |
|
SIGNED_INT8
Each channel component is an unnormalized signed 8-bit integer value. |
|
SNORM_INT16
Each channel component is a normalized signed 16-bit integer value. |
|
SNORM_INT8
Each channel component is a normalized signed 8-bit integer value. |
|
UNORM_INT_101010
Represents a normalized x-10-10-10 4-channel xRGB image. |
|
UNORM_INT16
Each channel component is a normalized unsigned 16-bit integer value. |
|
UNORM_INT8
Each channel component is a normalized unsigned 8-bit integer value. |
|
UNORM_SHORT_555
Represents a normalized x-5-5-5 4-channel xRGB image. |
|
UNORM_SHORT_565
Represents a normalized 5-6-5 3-channel RGB image. |
|
UNSIGNED_INT16
Each channel component is an unnormalized unsigned 16-bit integer value. |
|
UNSIGNED_INT32
Each channel component is an unnormalized unsigned 32-bit integer value. |
|
UNSIGNED_INT8
Each channel component is an unnormalized unsigned 8-bit integer value. |
Field Summary | |
---|---|
int |
TYPE
Value of wrapped OpenCL flag. |
Method Summary | |
---|---|
static CLImageFormat.ChannelType |
valueOf(int channelFlag)
|
static CLImageFormat.ChannelType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CLImageFormat.ChannelType[] |
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.ChannelType SNORM_INT8
public static final CLImageFormat.ChannelType SNORM_INT16
public static final CLImageFormat.ChannelType UNORM_INT8
public static final CLImageFormat.ChannelType UNORM_INT16
public static final CLImageFormat.ChannelType UNORM_SHORT_565
CLImageFormat.ChannelOrder.RGB
.
public static final CLImageFormat.ChannelType UNORM_SHORT_555
CLImageFormat.ChannelOrder.RGB
.
public static final CLImageFormat.ChannelType UNORM_INT_101010
CLImageFormat.ChannelOrder.RGB
.
public static final CLImageFormat.ChannelType SIGNED_INT8
public static final CLImageFormat.ChannelType SIGNED_INT16
public static final CLImageFormat.ChannelType SIGNED_INT32
public static final CLImageFormat.ChannelType UNSIGNED_INT8
public static final CLImageFormat.ChannelType UNSIGNED_INT16
public static final CLImageFormat.ChannelType UNSIGNED_INT32
public static final CLImageFormat.ChannelType HALF_FLOAT
public static final CLImageFormat.ChannelType FLOAT
Field Detail |
---|
public final int TYPE
Method Detail |
---|
public static CLImageFormat.ChannelType[] values()
for (CLImageFormat.ChannelType c : CLImageFormat.ChannelType.values()) System.out.println(c);
public static CLImageFormat.ChannelType 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.ChannelType valueOf(int channelFlag)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |