set_use_stereo_stage


Description:


[ Version ( since = "1.22" ) ]
public void set_use_stereo_stage (bool use_stereo)

Sets whether the backend object for Clutter stages, will, if possible, be created with the ability to support stereo drawing (drawing separate images for the left and right eyes).

This function must be called before init is called. During paint callbacks, cogl_framebuffer_is_stereo can be called on the framebuffer retrieved by cogl_get_draw_framebuffer to determine if stereo support was successfully enabled, and cogl_framebuffer_set_stereo_mode to determine which buffers will be drawn to.

Note that this function *does not* cause the stage to be drawn multiple times with different perspective transformations and thus appear in 3D, it simply enables individual ClutterActors to paint different images for the left and and right eye.

Parameters:

use_stereo

true if the stereo stages should be used if possible.


Namespace: ClutterX11
Package: clutter-x11-1.0