Skip to content

LiteFX::Rendering::Viewport::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 override;

Parameters

NameDescription
rectangleThe rectangle that defines the dimensions of the viewport.