RenderTarget::SetRect

RenderTarget::SetRect
void SetRect(const Rect<int>& viewRect);
Description

SetRect allows changing of the renderer modifiable area of the render target. 

For example, if you want to render a scene to only a section of a full target. This is really only valid for user-created types; Default and Temporary should be managed by the RenderBufferManager and set in the target directly.

Parameters
Parameters 
Description 
const Rect<int>& viewRect 
The view rectangle which can be modified.