glScissor Function
GL_APICALL void GL_APIENTRY glScissor(
GLint x,
GLint y,
GLsizei width,
GLsizei height
);
| Name | Description | |
|---|---|---|
| in | x | X coordinate of the lower-left corner of the color buffer's scissor rectangle |
| in | y | Y coordinate of the lower-left corner of the color buffer's scissor rectangle |
| in | width | Width of the scissor rectangle |
| in | height | Height of the scissor rectangle |
Configures the scissor rectangle.
This function generates the following errors.
| GL_INVALID_VALUE | The width or height argument is negative. |
|---|
CONFIDENTIAL