Pushes a new scissor state. This is used to set nested scissor states.
name | type | arguments | description |
---|---|---|---|
x | number |
The x position of the scissor. |
|
y | number |
The y position of the scissor. |
|
width | number |
The width of the scissor. |
|
height | number |
The height of the scissor. |
|
drawingBufferHeight | number | <optional> |
Optional drawingBufferHeight override value. |
An array containing the scissor values.