Method
CoglPipelineset_depth_state
Declaration [src]
gboolean
cogl_pipeline_set_depth_state (
CoglPipeline* pipeline,
const CoglDepthState* state,
GError** error
)
Description [src]
This commits all the depth state configured in state
struct to the
given pipeline
. The configuration values are copied into the
pipeline so there is no requirement to keep the CoglDepthState
struct around if you don’t need it any more.
Note: Since some platforms do not support the depth range feature
it is possible for this function to fail and report an error
.
Stability: | Unstable |
Available since: | 2.0 |