code: def glGetVertexAttrib(index, pname):
      # From PyOpenGL v3.1.0 the glGetVertexAttribfv(index, pname) does
      # work, but it always returns 4 values, with zeros in the empty
      # spaces. We have no way to tell whether they are empty or genuine
      # zeros. Fortunately, pyopengl also supports the old syntax.
      n = 4
      d = float("Inf")
      params = (ctypes.c_float * n)(*[d for i in range(n)])
      GL.glGetVertexAttribfv(index, pname, params)
      params = [p for p in params if p != d]
      if len(params) == 1:
          return params[0]
      else:
          return tuple(params)
  
imports: import ctypes
  from OpenGL import GL
  import OpenGL.GL.framebufferobjects
label_desc: Use image node_id 26 for calling a global function with example usage: glGetVertexAttrib(index, pname) and returns: params, tuple