lib/opencl_ruby_ffi/Mem.rb
def gl_object_type
      param_value = MemoryPointer::new( :cl_gl_object_type )
      error = OpenCL.clGetGLObjectInfo( self, param_value, nil )
      error_check(error)
      return GLObjectType::new(param_value.read_cl_gl_object_type)
    end
# Returns the type of the GL object associated with Mem
Returns the type of the GL object associated with Mem
Returns the type of the GL object associated with Mem
def gl_object_type
      param_value = MemoryPointer::new( :cl_gl_object_type )
      error = OpenCL.clGetGLObjectInfo( self, param_value, nil )
      error_check(error)
      return GLObjectType::new(param_value.read_cl_gl_object_type)
    end
def gl_object_type param_value = MemoryPointer :: new ( :cl_gl_object_type ) error = OpenCL . clGetGLObjectInfo ( self , param_value , nil ) error_check ( error ) return GLObjectType :: new ( param_value . read_cl_gl_object_type ) end
Returns the type of the GL object associated with Mem
Returns the type of the GL object associated with Mem