class_docstr: Class that provides a series of GL functions that do not fit
  in the object oriented part of gloo. An instance of this class is
  associated with each canvas.
docstr: Specify the value used for depth buffer comparisons
  
  Parameters
  ----------
  func : str
      The depth comparison function. Must be one of 'never', 'less',
      'equal', 'lequal', 'greater', 'gequal', 'notequal', or 'always'.
docstr_tok: ["Specify","the","value","used","for","depth","buffer","comparisons","Parameters","--","--","--","--","--","func",":","str","The","depth","comparison","function",".","Must","be","one","of","'never","'",",","'less","'",",","'equal","'",",","'lequal","'",",","'greater","'",",","'gequal","'",",","'notequal","'",",","or","'always","'","."]
code: def set_depth_func(self, func="less"):
      """Specify the value used for depth buffer comparisons
  
      Parameters
      ----------
      func : str
          The depth comparison function. Must be one of 'never', 'less',
          'equal', 'lequal', 'greater', 'gequal', 'notequal', or 'always'.
      """
      self.glir.command("FUNC", "glDepthFunc", func)
  
imports: import numpy
  from copy import deepcopy
  from .None import gl
  from ..color import Color
  from ..util import logger
label_desc: Use image node_id 18 for calling the BaseGlooFunctions obj's underlying member method code with example usage: obj.set_depth_func(func) without return types