Cogl.OnscreenTemplate.prototype.set_stereo_enabled

function set_stereo_enabled(enabled: Cogl.Bool): void {
    // Gjs wrapper for cogl_onscreen_template_set_stereo_enabled()
}
  

Sets whether future Cogl.Onscreen framebuffers derived from this template are attempted to be created with both left and right buffers, for use with stereo display. If the display system does not support stereo, then creation of the framebuffer will fail.

Since 1.20

enabled

Whether framebuffers are created with stereo buffers