lib/opencl_ruby_ffi/Mem.rb
# Returns the name of the GL object associated with Mem
Returns the name of the GL object associated with Mem
Returns the name of the GL object associated with Mem
def gl_object_name
      param_value = MemoryPointer::new( :cl_GLuint )
      error = OpenCL.clGetGLObjectInfo( self, nil, param_value )
      error_check(error)
      return param_value.read_cl_GLuint
    end
def gl_object_name param_value = MemoryPointer :: new ( :cl_GLuint ) error = OpenCL . clGetGLObjectInfo ( self , nil , param_value ) error_check ( error ) return param_value . read_cl_GLuint end
Returns the name of the GL object associated with Mem
Returns the name of the GL object associated with Mem