depth-range-state
GPU-accelerated rendering » GPU state

Prev:stencil-state
Next:depth-state


Vocabulary
gpu.state

Class description
The depth-range-state controls the range of depth values that are generated for fragments and used for depth testing and writing to the depth buffer.
The near slot contains a float value that will be assigned to fragments on the near plane. The default value is 0.0.
The far slot contains a float value that will be assigned to fragments on the far plane. The default value is 1.0.


See also
<depth-range-state>, get-depth-range-state

Definition


Methods