Name
sdl.RenderSetClipRect -- set clip rectangle
Synopsis
sdl.RenderSetClipRect(display[, x, y, w, h])
Function
Use this function to set the clip rectangle for rendering on the specified target. If you leave out the optional arguments, clipping will be disabled.

Inputs
display
identifier of display whose renderer should be used
x
optional: the x coordinate of the upper left corner
y
optional: the y coordinate of the upper left corner
w
optional: the rectangle width
h
optional: the rectangle height

Show TOC