stencil-state
GPU-accelerated rendering > GPU state

Prev:multisample-state
Next:depth-range-state


Vocabulary
gpu.state

Class description
The stencil-state controls how incoming fragments interact with the stencil buffer. The front-mode and back-mode slots are both stencil-mode tuples that define the stencil buffer interaction for front- and back-facing triangle fragments, respectively. If both slots are f, stencil testing is disabled.

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

Definition


Methods