Cogl.Pipeline.prototype.set_front_face_winding

function set_front_face_winding(front_winding: Cogl.Winding): void {
    // Gjs wrapper for cogl_pipeline_set_front_face_winding()
}
  

The order of the vertices within a primitive specifies whether it is considered to be front or back facing. This function specifies which order is considered to be the front faces. Cogl.Winding.counter_clockwise sets the front faces to primitives with vertices in a counter-clockwise order and Cogl.Winding.clockwise sets them to be clockwise. The default is Cogl.Winding.counter_clockwise.

Status: Unstable

Since 2.0

front_winding

the winding order