Name
sdl.SetRenderTarget -- set render target
Synopsis
sdl.SetRenderTarget(display[, tex])
Function
Use this function to set a texture as the current rendering target. The tex argument must simply be the identifier of a hardware brush. If you leave out the tex argument, the default render target is used.

Inputs
display
identifier of display whose renderer should be used
tex
optional: hardware brush to use as target

Show TOC