Cogl.DepthState.prototype.get_test_function

function get_test_function(): Cogl.DepthTestFunction {
    // Gjs wrapper for cogl_depth_state_get_test_function()
}
  

Gets the current depth test enable state as previously set via Cogl.DepthState.prototype.set_test_enabled.

Since 2.0

Returns

The current depth test enable state.