Enum ocl::enums::ImageChannelDataType
[−]
[src]
pub enum ImageChannelDataType {
SnormInt8,
SnormInt16,
UnormInt8,
UnormInt16,
UnormShort565,
UnormShort555,
UnormInt101010,
SignedInt8,
SignedInt16,
SignedInt32,
UnsignedInt8,
UnsignedInt16,
UnsignedInt32,
HalfFloat,
Float,
UnormInt24,
}Describes the size of the channel data type. The number of bits per element determined by the image_channel_data_type and image_channel_order must be a power of two. The list of supported values is described in the table below. (from SDK)
Variants
SnormInt8SnormInt16UnormInt8UnormInt16UnormShort565UnormShort555UnormInt101010SignedInt8SignedInt16SignedInt32UnsignedInt8UnsignedInt16UnsignedInt32HalfFloatFloatUnormInt24Trait Implementations
impl PartialEq<ImageChannelDataType> for ImageChannelDataType
fn eq(&self, __arg_0: &ImageChannelDataType) -> bool
impl Clone for ImageChannelDataType
fn clone(&self) -> ImageChannelDataType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for ImageChannelDataType
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.