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.
this |
A Pipeline object |
state |
A DepthState struct |
TRUE if the GPU supports all the given |