Home -> IFrameBuffer -> DefineViewportRegion

Description

The DefineViewportRegion method defines the position and size of the viewport to draw into within the bound texture or window.

Usage

void DefineViewportRegion(const V2UInt32& startPos, const V2UInt32& size);

Argument list

startPos [const V2UInt32]
The top-left pixel position of the viewport rectangle.
size [const V2UInt32]
The pixel dimensions of the viewport rectangle.

See also