(self)
Toggles the double buffering mode on/off.
Toggles the double buffering mode on/off.
Toggles the double buffering mode on / off .
def toggle_stereo_buffering(self):
    """Toggles the double buffering mode on/off."""
    if self._stereo_mode == enums.mjtStereo.mjSTEREO_NONE:
      self._stereo_mode = enums.mjtStereo.mjSTEREO_QUADBUFFERED
    else:
      self._stereo_mode = enums.mjtStereo.mjSTEREO_NONE
def toggle_stereo_buffering ( self ) : if self . _stereo_mode == enums . mjtStereo . mjSTEREO_NONE : self . _stereo_mode = enums . mjtStereo . mjSTEREO_QUADBUFFERED else : self . _stereo_mode = enums . mjtStereo . mjSTEREO_NONE