set_stereo_mode


Description:

public void set_stereo_mode (StereoMode stereo_mode)

Sets which stereo buffers should be drawn to.

The default is cogl_stereo_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 set_stereo_enabled, get_is_stereo.)

Parameters:

this

a pointer to a Framebuffer

stereo_mode

A StereoMode specifying which stereo buffers should be drawn tow.