render.CopyRenderTargetToTexture
Description
Copies the currently active Render Target to the specified texture.
Arguments
Example
This is how it's used in render.CopyTexture
function render.CopyTexture( from, to )
local OldRT = render.GetRenderTarget()
render.SetRenderTarget( from )
render.CopyRenderTargetToTexture( to )
render.SetRenderTarget( OldRT )
end