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 =

:stopdoc:

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

:startdoc: Returns a String representing the Enum value name



1791
1792
1793
# File 'lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb', line 1791

def name
  return @@codes[@val]
end