Cogl.DepthState.prototype.get_range

function get_range(near_val: Number(gfloat), far_val: Number(gfloat)): void {
    // Gjs wrapper for cogl_depth_state_get_range()
}
  

Gets the current range to which normalized depth values are mapped before writing to the depth buffer. This corresponds to the range set with Cogl.DepthState.prototype.set_range.

Since 2.0

near_val

A pointer to store the near component of the depth range

far_val

A pointer to store the far component of the depth range