Class: OpenCL::ChannelType
- Defined in:
- lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb
Overview
Enum that maps the :cl_channel_type type
Constant Summary collapse
- SNORM_INT8 =
0x10D0- SNORM_INT16 =
0x10D1- UNORM_INT8 =
0x10D2- UNORM_INT16 =
0x10D3- UNORM_SHORT_565 =
0x10D4- UNORM_SHORT_555 =
0x10D5- UNORM_INT_101010 =
0x10D6- SIGNED_INT8 =
0x10D7- SIGNED_INT16 =
0x10D8- SIGNED_INT32 =
0x10D9- UNSIGNED_INT8 =
0x10DA- UNSIGNED_INT16 =
0x10DB- UNSIGNED_INT32 =
0x10DC- HALF_FLOAT =
0x10DD- FLOAT =
0x10DE- UNORM_INT24 =
0x10DF
Instance Method Summary collapse
-
#name ⇒ Object
Returns a String representing the Enum value name.
Methods inherited from Enum
#==, #initialize, #is?, #to_i, #to_int, #to_s, #val=
Constructor Details
This class inherits a constructor from OpenCL::Enum
Instance Method Details
#name ⇒ Object
Returns a String representing the Enum value name
3432 3433 3434 |
# File 'lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb', line 3432 def name return @@codes[@val] end |