class_docstr: Add wireframe to a mesh.
  
  The wireframe filter should be attached before the shading filter for the
  wireframe to be shaded.
  
  Parameters
  ----------
  color : str or tuple or Color
      Line color of the wireframe
  width : float
      Line width of the wireframe
  enabled : bool
      Whether the wireframe is drawn or not
  
  Examples
  --------
  See
  `examples/basics/scene/mesh_shading.py
  <https://github.com/vispy/vispy/blob/main/examples/basics/scene/mesh_shading.py>`_
  example script.
class_docstr_tok: ["Add","wireframe","to","a","mesh",".","The","wireframe","filter","should","be","attached","before","the","shading","filter","for","the","wireframe","to","be","shaded",".","Parameters","--","--","--","--","--","color",":","str","or","tuple","or","Color","Line","color","of","the","wireframe","width",":","float","Line","width","of","the","wireframe","enabled",":","bool","Whether","the","wireframe","is","drawn","or","not","Examples","--","--","--","--","See","`","examples\/basics\/scene\/mesh_shading.py","<","https",":","\/\/github.com\/vispy\/vispy\/blob\/main\/examples\/basics\/scene\/mesh_shading.py",">","`","_","example","script","."]
code: def __init__(
      self,
      enabled=True,
      color="black",
      width=1.0,
      wireframe_only=False,
      faces_only=False,
  ):
      self._attached = False
      self._color = Color(color)
      self._width = width
      self._enabled = enabled
      self._wireframe_only = wireframe_only
      self._faces_only = faces_only
  
      vfunc = Function(wireframe_vertex_template)
      ffunc = Function(wireframe_fragment_template)
  
      self._bc = VertexBuffer(np.zeros((0, 3), dtype=np.float32))
      vfunc["bc"] = self._bc
  
      super().__init__(vcode=vfunc, fcode=ffunc)
      self.enabled = enabled
  
imports: import numbers
  import numpy
  from vispy.gloo import Texture2D, VertexBuffer
  from vispy.visuals.shaders import Function, Varying
  from vispy.visuals.filters import Filter, PrimitivePickingFilter
  from ...color import Color
label_desc: Use image node_id 1 to create a new WireframeFilter object from inherited base classes: Filter with example: obj = WireframeFilter(enabled, color, width, wireframe_only, faces_only)