Class: OpenCL::FilterMode

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

Overview

Enum that maps the :cl_filter_mode type

Constant Summary collapse

NEAREST =

:stopdoc:

0x1140
LINEAR =
0x1141

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



1805
1806
1807
# File 'lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb', line 1805

def name
  return @@codes[@val]
end