class Scissor
Class for generating scissor-related commands. Unlike glScissor, the color buffer size of the target drawing must be given.
| isEnable | Sets whether to enable scissoring. Type is bool. |
|
|---|---|---|
| x | The lower left x value in the scissor area. Type is f32. |
|
| y | The lower left y value in the scissor area. Type is f32. |
|
| width | The scissor area width. Type is u32. |
|
| height | The scissor area height. Type is u32. |
|
| bufferWidth | The scissor area color buffer width. Type is f32. |
|
| bufferHeight | The scissor area color buffer width. Type is f32. |
| Scissor | Constructor. Sets initial values (scissor enabled, scissor area (0,0) to (240,320), buffer size (256,320)). | |
|---|---|---|
MakeCommand
|
Generates a rendering command based on information already set. | |
Set
|
Convenient function for specifying the scissor area all at once. | |
| SetBufferSize | Convenient function for specifying the buffer size all at once. |
CONFIDENTIAL