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¶
| Name | Description |
|---|---|
| viewports | The viewports used for the subsequent draw calls. |