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: Set the clear value for the stencil buffer
  
  This is a wrapper for gl.glClearStencil.
  
  Parameters
  ----------
  index : int
      The index to use when the stencil buffer is cleared.
docstr_tok: ["Set","the","clear","value","for","the","stencil","buffer","This","is","a","wrapper","for","gl.glClearStencil",".","Parameters","--","--","--","--","--","index",":","int","The","index","to","use","when","the","stencil","buffer","is","cleared","."]
code: def set_clear_stencil(self, index=0):
      """Set the clear value for the stencil buffer
  
      This is a wrapper for gl.glClearStencil.
  
      Parameters
      ----------
      index : int
          The index to use when the stencil buffer is cleared.
      """
      self.glir.command("FUNC", "glClearStencil", int(index))
  
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 10 for calling the BaseGlooFunctions obj's underlying member method code with example usage: obj.set_clear_stencil(index) without return types