Class: OpenCL::AddressingMode

Inherits:
Enum
  • Object
show all
Defined in:
lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb

Overview

Enum that maps the :cl_addressing_mode type

Constant Summary collapse

NONE =
0x1130
CLAMP_TO_EDGE =
0x1131
CLAMP =
0x1132
REPEAT =
0x1133
MIRRORED_REPEAT =
0x1134

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



3450
3451
3452
# File 'lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb', line 3450

def name
  return @@codes[@val]
end