class_docstr: Abstract base class for Visual-specific filters to implement a
  primitive-picking mode.
  
  Subclasses must (and usually only need to) implement
  :py:meth:`_get_picking_ids`.
class_docstr_tok: ["Abstract","base","class","for","Visual-specific","filters","to","implement","a","primitive-picking","mode",".","Subclasses","must","(","and","usually","only","need","to",")","implement",":","py",":","meth",":","`","_get_picking_ids","`","."]
code: def discard_transparent(self, d):
      self._discard_transparent = bool(d)
      self.fshader["discard_transparent"] = int(
          self._discard_transparent
      )
  
imports: from abc import ABCMeta, abstractmethod
  import numpy
  from vispy.gloo import VertexBuffer
  from ..shaders import Function
label_desc: Use image node_id 9 for calling the PrimitivePickingFilter obj's underlying member method code with example usage: obj.discard_transparent(d) without return types