scissor-state
GPU-accelerated rendering > GPU state

Prev:viewport-state
Next:multisample-state


Vocabulary
gpu.state

Class description
The scissor-state allows rendering output to be clipped to a rectangular region of the framebuffer. If the rect slot is set to a rect value, fragments outside that rectangle will be discarded. If it is f, fragments are allowed anywhere on the framebuffer.

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

Definition


Methods