class_docstr: Class to support multiple render passes for a renderer.
  
  Notes
  -----
  Passes are organized here as "primary" (vtkOpenGLRenderPass) that act
  within the renderer and "post-processing" (vtkImageProcessingPass) passes,
  which act on the image generated from the renderer.
  
  The primary passes are added as part of a vtk.vtkRenderPassCollection or
  are "stacked", while the post-processing passes are added as a final pass
  to the rendered image.
  
  Parameters
  ----------
  renderer : vtk.vtkRenderer
      Renderer to initialize render passes for.
docstr: Remove a pass.
  
  Remove a pass and reassemble the pass ordering.
docstr_tok: ["Remove","a","pass",".","Remove","a","pass","and","reassemble","the","pass","ordering","."]
code: def _remove_pass(self, render_pass):
      """Remove a pass.
  
      Remove a pass and reassemble the pass ordering.
  
      """
      class_name = render_pass.GetClassName()
  
      if class_name not in self._passes:  # pragma: no cover
          return
      else:
          self._passes[class_name].remove(render_pass)
          if not self._passes[class_name]:
              self._passes.pop(class_name)
  
      self._update_passes()
  
imports: import weakref
  from .None import _vtk
label_desc: Use image node_id 22 for calling the RenderPasses obj's underlying member method code with example usage: obj._remove_pass(render_pass) without return types