setScissor method
Where fragments survive. Bounds a draw, and — unlike a clear — is honoured by one.
Implementation
@override
void setScissor(ScreenRect rect) =>
_pass.setScissorRect(rect.x, rect.y, rect.width, rect.height);
Where fragments survive. Bounds a draw, and — unlike a clear — is honoured by one.
@override
void setScissor(ScreenRect rect) =>
_pass.setScissorRect(rect.x, rect.y, rect.width, rect.height);