set_depth_state


Description:

public Bool set_depth_state (DepthState state) throws Error

This commits all the depth state configured in state struct to the given this.

The configuration values are copied into the pipeline so there is no requirement to keep the DepthState 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 throws.

Parameters:

this

A Pipeline object

state

A DepthState struct

Returns:

TRUE if the GPU supports all the given state else false and returns an throws.