Class: OpenCL::Sampler::Type
- Defined in:
- lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb
Overview
Enum that maps the :cl_sampler_properties
Constant Summary collapse
- NORMALIZED_COORDS =
:stopdoc:
0x1152- ADDRESSING_MODE =
0x1153- FILTER_MODE =
0x1154- MIP_FILTER_MODE =
0x1155- LOD_MIN =
0x1156- LOD_MAX =
0x1157
Instance Method Summary collapse
-
#name ⇒ Object
:startdoc: 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
:startdoc: Returns a String representing the Enum value name
1653 1654 1655 |
# File 'lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb', line 1653 def name return @@codes[@val] end |