Class: OpenCL::Sampler::Type

Inherits:
Enum
  • Object
show all
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 =
0x1152
ADDRESSING_MODE =
0x1153
FILTER_MODE =
0x1154
MIP_FILTER_MODE =
0x1155
LOD_MIN =
0x1156
LOD_MAX =
0x1157

Instance Method Summary collapse

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

#nameObject

Returns a String representing the Enum value name



3317
3318
3319
# File 'lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb', line 3317

def name
  return @@codes[@val]
end