render.SetScissorRect
Example
Shows how to use this function. This will cut the white rectangle from full screen to 512x512 box in top left corner.
Example
Draws a fake circle + cut it to look like a progress bar.
Sets a scissoring rectangle which limits the drawing area. (otherwise known as clipping)
Shows how to use this function. This will cut the white rectangle from full screen to 512x512 box in top left corner.
Draws a fake circle + cut it to look like a progress bar.