Class: OpenCL::GLObjectType

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

Overview

Enum that maps the :cl_gl_object_type type

Constant Summary collapse

BUFFER =
0x2000
TEXTURE2D =
0x2001
TEXTURE3D =
0x2002
RENDERBUFFER =
0x2003
TEXTURE2D_ARRAY =
0x200E
TEXTURE1D =
0x200F
TEXTURE1D_ARRAY =
0x2010
TEXTURE_BUFFER =
0x2011

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



3569
3570
3571
# File 'lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb', line 3569

def name
  return @@codes[@val]
end