depth-state
GPU-accelerated rendering > GPU state

Prev:depth-range-state
Next:blend-state


Vocabulary
gpu.state

Class description
The depth-state controls how incoming fragments' depth values are tested against the depth buffer. The comparison slot, if not f, determines the condition that must be true between the incoming fragment depth and depth buffer depth to pass a fragment. If the comparison is f, depth testing is disabled and all fragments pass. cmp-less is typically used for depth culling.

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

Definition


Methods