Viewport

A structure representing a viewport construct.

File location: framework/cauldron/framework/inc/render/renderdefines.h

Detailed description

A structure representing a viewport construct.

Data fields

Type

Description

float

X
Viewport left coordinate.

float

Y
Viewport top coordinate.

float

Width
Viewport width.

float

Height
Viewport height.

float

MinDepth
Viewport min depth.

float

MaxDepth
Viewport max depth.