class_docstr: **Bases:** :class:`GLGraphicsItem <pyqtgraph.opengl.GLGraphicsItem.GLGraphicsItem>`
  
  Displays image data as a textured quad.
code: def paint(self):
      if self._needUpdate:
          self._updateTexture()
          self._needUpdate = False
      glEnable(GL_TEXTURE_2D)
      glBindTexture(GL_TEXTURE_2D, self.texture)
  
      self.setupGLState()
  
      # glEnable(GL_DEPTH_TEST)
      ##glDisable(GL_CULL_FACE)
      # glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA)
      # glEnable( GL_BLEND )
      # glEnable( GL_ALPHA_TEST )
      glColor4f(1, 1, 1, 1)
  
      glBegin(GL_QUADS)
      glTexCoord2f(0, 0)
      glVertex3f(0, 0, 0)
      glTexCoord2f(1, 0)
      glVertex3f(self.data.shape[0], 0, 0)
      glTexCoord2f(1, 1)
      glVertex3f(self.data.shape[0], self.data.shape[1], 0)
      glTexCoord2f(0, 1)
      glVertex3f(0, self.data.shape[1], 0)
      glEnd()
      glDisable(GL_TEXTURE_2D)
  
file_path: pyqtgraph/pyqtgraph/opengl/items/GLImageItem.py
imports: from OpenGL.GL import *
  import numpy
  from ..GLGraphicsItem import GLGraphicsItem
label_desc: Use image node_id 5 for calling the GLImageItem obj's underlying member method code with example usage: obj.paint() without return types