Cogl.Framebuffer.prototype.set_stereo_mode
function set_stereo_mode(stereo_mode: Cogl.StereoMode): void {
// Gjs wrapper for cogl_framebuffer_set_stereo_mode()
}
Sets which stereo buffers should be drawn to. The default is Cogl.StereoMode.both, which means that both the left and right buffers will be affected by drawing. For this to have an effect, the display system must support stereo drawables, and the framebuffer must have been created with stereo enabled. (See Cogl.OnscreenTemplate.prototype.set_stereo_enabled, Cogl.Framebuffer.prototype.get_is_stereo.)
Since 1.20
- stereo_mode
A Cogl.StereoMode specifying which stereo buffers should be drawn tow.