Skip to content

LiteFX::Rendering::IViewport::setRectangle

Sets the rectangle that defines the dimensions of the viewport.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] virtual void setRectangle(RectF const& rectangle) noexcept = 0;

Parameters

NameDescription
rectangleThe rectangle that defines the dimensions of the viewport.