Skip to content

LiteFX::Rendering::Backends::DirectX12CommandBuffer::setViewports

Sets the viewports used for the subsequent draw calls.

Synopsis

Declared in <litefx/backends/dx12.hpp>

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

Parameters

NameDescription
viewportsThe viewports used for the subsequent draw calls.