Function RenderPass.setScissorRect
Sets the scissor region.
void setScissorRect
(
uint x,
uint y,
uint w,
uint h
);
Subsequent draw calls will discard any fragments that fall outside this region.