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: The available GL state :data:`presets <.GL_PRESETS>`.
  
  Returns
  -------
  presets : dict
      The dictionary of presets usable with :func:`.set_state`.
docstr_tok: ["The","available","GL","state",":","data",":","`","presets","<",".GL_PRESETS",">","`",".","Returns","--","--","--","-","presets",":","dict","The","dictionary","of","presets","usable","with",":","func",":","`",".set_state","`","."]
code: def get_state_presets(self):
      """The available GL state :data:`presets <.GL_PRESETS>`.
  
      Returns
      -------
      presets : dict
          The dictionary of presets usable with :func:`.set_state`.
      """
      return deepcopy(GL_PRESETS)
  
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 22 for calling the BaseGlooFunctions obj's underlying member method code with example usage: obj.get_state_presets() and returns: deepcopy