oa::ViewportDesc

— viewport rectangle and depth range.

Public Methods

oa::Result<oa::F32> oa::ViewportDesc::getAspectRatio()
bool oa::ViewportDesc::isValid()

Public Data Members

heightoa::I32field
maxDepthoa::F32field
minDepthoa::F32field
widthoa::I32field
xoa::I32field
yoa::I32field

Public Method Documentation

oa::Result<oa::F32> oa::ViewportDesc::getAspectRatio()
No public source comment is attached to this declaration.

Returns

oa::Result<oa::F32>

The declared return value.

bool oa::ViewportDesc::isValid()
No public source comment is attached to this declaration.

Returns

bool

The declared return value.