Skip to content

LiteFX::Rendering::ICommandBuffer::setViewports

Sets the viewports used for the subsequent draw calls.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] virtual void setViewports(Span<IViewport const*> viewports) const = 0;

Parameters

NameDescription
viewportsThe viewports used for the subsequent draw calls.