class_docstr: **Bases:** :class:`GLGraphicsItem <pyqtgraph.opengl.GLGraphicsItem.GLGraphicsItem>`
  
  Displays a 3D triangle mesh. 
docstr: ============== =====================================================
  **Arguments:**
  meshdata       MeshData object from which to determine geometry for 
                 this item.
  color          Default face color used if no vertex or face colors 
                 are specified.
  edgeColor      Default edge color to use if no edge colors are
                 specified in the mesh data.
  drawEdges      If True, a wireframe mesh will be drawn. 
                 (default=False)
  drawFaces      If True, mesh faces are drawn. (default=True)
  shader         Name of shader program to use when drawing faces.
                 (None for no shader)
  smooth         If True, normal vectors are computed for each vertex
                 and interpolated within each face.
  computeNormals If False, then computation of normal vectors is 
                 disabled. This can provide a performance boost for 
                 meshes that do not make use of normals.
  ============== =====================================================
docstr_tok: ["==============","=====================================================","*","*","Arguments",":","*","*","meshdata","MeshData","object","from","which","to","determine","geometry","for","this","item",".","color","Default","face","color","used","if","no","vertex","or","face","colors","are","specified",".","edgeColor","Default","edge","color","to","use","if","no","edge","colors","are","specified","in","the","mesh","data",".","drawEdges","If","True",",","a","wireframe","mesh","will","be","drawn",".","(","default=False",")","drawFaces","If","True",",","mesh","faces","are","drawn",".","(","default=True",")","shader","Name","of","shader","program","to","use","when","drawing","faces",".","(","None","for","no","shader",")","smooth","If","True",",","normal","vectors","are","computed","for","each","vertex","and","interpolated","within","each","face",".","computeNormals","If","False",",","then","computation","of","normal","vectors","is","disabled",".","This","can","provide","a","performance","boost","for","meshes","that","do","not","make","use","of","normals",".","==============","====================================================="]
code: def __init__(self, parentItem=None, **kwds):
      """
      ============== =====================================================
      **Arguments:**
      meshdata       MeshData object from which to determine geometry for
                     this item.
      color          Default face color used if no vertex or face colors
                     are specified.
      edgeColor      Default edge color to use if no edge colors are
                     specified in the mesh data.
      drawEdges      If True, a wireframe mesh will be drawn.
                     (default=False)
      drawFaces      If True, mesh faces are drawn. (default=True)
      shader         Name of shader program to use when drawing faces.
                     (None for no shader)
      smooth         If True, normal vectors are computed for each vertex
                     and interpolated within each face.
      computeNormals If False, then computation of normal vectors is
                     disabled. This can provide a performance boost for
                     meshes that do not make use of normals.
      ============== =====================================================
      """
      self.opts = {
          "meshdata": None,
          "color": (1.0, 1.0, 1.0, 1.0),
          "drawEdges": False,
          "drawFaces": True,
          "edgeColor": (0.5, 0.5, 0.5, 1.0),
          "shader": None,
          "smooth": True,
          "computeNormals": True,
      }
  
      super().__init__(parentItem=parentItem)
      glopts = kwds.pop("glOptions", "opaque")
      self.setGLOptions(glopts)
      shader = kwds.pop("shader", None)
      self.setShader(shader)
  
      self.setMeshData(**kwds)
  
      ## storage for data compiled from MeshData object
      self.vertexes = None
      self.normals = None
      self.colors = None
      self.faces = None
  
file_path: pyqtgraph/pyqtgraph/opengl/items/GLMeshItem.py
imports: from OpenGL.GL import *
  import numpy
  from ...Qt import QtGui
  from ..None import shaders
  from ..GLGraphicsItem import GLGraphicsItem
  from ..MeshData import MeshData
label_desc: Use image node_id 1 to create a new GLMeshItem object from inherited base classes: GLGraphicsItem with example: obj = GLMeshItem(parentItem)