code: def texImage2D(target, level, internalformat, format, type, pixels):
      border = 0
      # --- gl es
      if isinstance(pixels, (tuple, list)):
          height, width = pixels
          pixels = ctypes.c_void_p(0)
          pixels = None
      else:
          if not pixels.flags["C_CONTIGUOUS"]:
              pixels = pixels.copy("C")
          pixels_ = pixels
          pixels = pixels_.ctypes.data
          height, width = pixels_.shape[:2]
      ()
      # --- pyopengl
      if isinstance(pixels, (tuple, list)):
          height, width = pixels
          pixels = None
      else:
          height, width = pixels.shape[:2]
      GL.glTexImage2D(
          target,
          level,
          internalformat,
          width,
          height,
          border,
          format,
          type,
          pixels,
      )
  
imports: import ctypes
label_desc: Use image node_id 9 for calling a global function with example usage: texImage2D(target, level, internalformat, format, type, pixels) without return types