public static enum CLImageFormat.ChannelDataType extends Enum<CLImageFormat.ChannelDataType> implements ValuedEnum
| Enum Constant and Description |
|---|
Float
Each channel component is a single precision floating- point value
|
HalfFloat
Each channel component is a 16-bit half-float value
|
SignedInt16
Each channel component is an unnormalized signed 16- bit integer value
|
SignedInt32
Each channel component is an unnormalized signed 32- bit integer value
|
SignedInt8
Each channel component is an unnormalized signed 8- bit integer value
|
SNormInt16
Each channel component is a normalized signed 16-bit integer value
|
SNormInt8
Each channel component is a normalized signed 8-bit integer value
|
UNormInt101010
Represents a normalized x-10-10-10 4-channel xRGB image.
|
UNormInt16
Each channel component is a normalized unsigned 16- bit integer value
|
UNormInt8
Each channel component is a normalized unsigned 8-bit integer value
|
UNormShort555
Represents a normalized x-5-5-5 4-channel xRGB image.
|
UNormShort565
Represents a normalized 5-6-5 3-channel RGB image.
|
UnsignedInt16
Each channel component is an unnormalized unsigned 16-bit integer value
|
UnsignedInt32
Each channel component is an unnormalized unsigned 32-bit integer value
|
UnsignedInt8
Each channel component is an unnormalized unsigned 8-bit integer value
|
| Modifier and Type | Field and Description |
|---|---|
int |
SIZE
Size of this ChannelDataType, in bits
|
| Modifier and Type | Method and Description |
|---|---|
static CLImageFormat.ChannelDataType |
getEnum(long v) |
long |
value() |
static CLImageFormat.ChannelDataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CLImageFormat.ChannelDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CLImageFormat.ChannelDataType SNormInt8
public static final CLImageFormat.ChannelDataType SNormInt16
public static final CLImageFormat.ChannelDataType UNormInt8
public static final CLImageFormat.ChannelDataType UNormInt16
public static final CLImageFormat.ChannelDataType UNormShort565
public static final CLImageFormat.ChannelDataType UNormShort555
public static final CLImageFormat.ChannelDataType UNormInt101010
public static final CLImageFormat.ChannelDataType SignedInt8
public static final CLImageFormat.ChannelDataType SignedInt16
public static final CLImageFormat.ChannelDataType SignedInt32
public static final CLImageFormat.ChannelDataType UnsignedInt8
public static final CLImageFormat.ChannelDataType UnsignedInt16
public static final CLImageFormat.ChannelDataType UnsignedInt32
public static final CLImageFormat.ChannelDataType HalfFloat
public static final CLImageFormat.ChannelDataType Float
public final int SIZE
public static CLImageFormat.ChannelDataType[] values()
for (CLImageFormat.ChannelDataType c : CLImageFormat.ChannelDataType.values()) System.out.println(c);
public static CLImageFormat.ChannelDataType 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.ChannelDataType getEnum(long v)
Copyright © 2009-2015. All Rights Reserved.