class_docstr: Generic GL object that represents an object on the GPU.
  
  When a GLObject is instantiated, it is associated with the currently
  active Canvas, or with the next Canvas to be created if there is no current Canvas
docstr: Initialize the object in the default state
docstr_tok: ["Initialize","the","object","in","the","default","state"]
code: def __init__(self):
      """Initialize the object in the default state"""
      # Give this object an id
      GLObject._idcount += 1
      self._id = GLObject._idcount
  
      # Create the GLIR queue in which we queue our commands.
      # See docs above for details.
      self._glir = GlirQueue()
  
      # Give glir command to create GL representation of this object
      self._glir.command("CREATE", self._id, self._GLIR_TYPE)
  
file_path: vispy/vispy/gloo/globject.py
imports: from .glir import GlirQueue
label_desc: Use image node_id 1 to create a new GLObject object from inherited base classes: object with example: obj = GLObject()