Scissor
The Scissor struct is used to define a clipping region, ensuring that rendering operations only affect the specified area within the defined boundaries. It is used to optimize rendering or to focus on specific regions of the screen.
#include <TellusimTypes.h>
Constructors
Scissor()
Scissor(int32_t width, int32_t height)
Scissor(int32_t x, int32_t y, int32_t width, int32_t height)
Variables
Type | Name | Value |
---|---|---|
int32_t | x | 0 |
int32_t | y | 0 |
int32_t | width | Maxi16 |
int32_t | height | Maxi16 |