Class: OpenCL::GLObjectType
- 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 =
:stopdoc:
0x2000
- TEXTURE2D =
0x2001
- TEXTURE3D =
0x2002
- RENDERBUFFER =
0x2003
- TEXTURE2D_ARRAY =
0x200E
- TEXTURE1D =
0x200F
- TEXTURE1D_ARRAY =
0x2010
- TEXTURE_BUFFER =
0x2011
Instance Method Summary collapse
-
#name ⇒ Object
:startdoc: Returns a String representing the Enum value name.
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
#name ⇒ Object
:startdoc: Returns a String representing the Enum value name
1918 1919 1920 |
# File 'lib/opencl_ruby_ffi/opencl_ruby_ffi_base_gen.rb', line 1918 def name return @@codes[@val] end |