set_backface_culling_enabled


Description:


public void set_backface_culling_enabled (bool setting)

Sets whether textures positioned so that their backface is showing should be hidden.

Note:

Use cogl_pipeline_set_cull_face_mode instead

This can be used to efficiently draw two-sided textures or fully closed cubes without enabling depth testing. This only affects calls to the cogl_rectangle* family of functions and cogl_vertex_buffer_draw*. Backface culling is disabled by default.

Parameters:

setting

true to enable backface culling or false to disable.


Namespace: Cogl
Package: cogl-1.0