Viewport::SetScissorRect

Viewport::SetScissorRect
void SetScissorRect(int scleft, int sctop, int scw, int sch);
Description

SetScissorRect initializes a scissor rectangle.

Parameters
Parameters 
Description 
int scleft 
The left side of the scissor rectangle, counting in pixels from the left. 
int sctop 
The top side of the scissor rectangle, counting in pixels from the top. 
int scw 
Width of the scissor rectangle in pixels. 
int sch 
Height of the scissor rectangle in pixels.