Skip to main content

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

TypeNameValue
int32_tx0
int32_ty0
int32_twidthMaxi16
int32_theightMaxi16