set_depth_test_enabled


Description:


public void set_depth_test_enabled (bool setting)

Sets whether depth testing is enabled.

Note:

Use cogl_pipeline_set_depth_state instead

If it is disabled then the order that actors are layered on the screen depends solely on the order specified using clutter_actor_raise and clutter_actor_lower, otherwise it will also take into account the actor's depth. Depth testing is disabled by default.

Parameters:

setting

true to enable depth testing or false to disable.


Namespace: Cogl
Package: cogl-1.0