Cogl.DepthState.prototype.init

function init(): void {
    // Gjs wrapper for cogl_depth_state_init()
}
  

Initializes the members of state to their default values.

You should never pass an un initialized Cogl.DepthState structure to Cogl.Pipeline.prototype.set_depth_state.

Since 2.0