lib/opencl_ruby_ffi/Mem.rb
# Returns the miplevel argument specified in create_from_GL_texture for Mem
Returns the miplevel argument specified in create_from_GL_texture for Mem
Returns the miplevel argument specified in create_from_GL_texture for Mem
def gl_mimap_level
      param_value = MemoryPointer::new( :cl_GLint )
      error = OpenCL.clGetGLTextureInfo( self, GL_MIPMAP_LEVEL, param_value.size, param_value, nil )
      error_check(error)
      return param_value.read_cl_GLint
    end
def gl_mimap_level param_value = MemoryPointer :: new ( :cl_GLint ) error = OpenCL . clGetGLTextureInfo ( self , GL_MIPMAP_LEVEL , param_value . size , param_value , nil ) error_check ( error ) return param_value . read_cl_GLint end
Returns the miplevel argument specified in create_from_GL_texture for Mem
Returns the miplevel argument specified in create_from_GL_texture for Mem