Enum ocl::raw::ImageChannelOrder
[−]
[src]
pub enum ImageChannelOrder { R, A, Rg, Ra, Rgb, Rgba, Bgra, Argb, Intensity, Luminance, Rx, Rgx, Rgbx, Depth, DepthStencil, }
Specifies the number of channels and the channel layout i.e. the memory layout in which channels are stored in the image. Valid values are described in the table below. (from SDK)
Variants
R
A
Rg
Ra
Rgb
This format can only be used if channel data type = CL_UNORM_SHORT_565, CL_UNORM_SHORT_555 or CL_UNORM_INT101010:
Rgba
Bgra
This format can only be used if channel data type = CL_UNORM_INT8, CL_SNORM_INT8, CL_SIGNED_INT8 or CL_UNSIGNED_INT8:
Argb
This format can only be used if channel data type = CL_UNORM_INT8, CL_SNORM_INT8, CL_SIGNED_INT8 or CL_UNSIGNED_INT8:
Intensity
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
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:
Rx
Rgx
Rgbx
This format can only be used if channel data type = CL_UNORM_SHORT_565, CL_UNORM_SHORT_555 or CL_UNORM_INT101010:
Depth
DepthStencil
Trait Implementations
impl Copy for ImageChannelOrder
[src]
impl Clone for ImageChannelOrder
[src]
fn clone(&self) -> ImageChannelOrder
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