LiteFX::Rendering::Backends::DirectX12CommandBuffer::setViewports¶
Sets the viewport used for the subsequent draw calls.
Synopsis¶
Declared in <litefx/backends/dx12.hpp>
[[dllimport, dllexport]] virtual void setViewports(IViewport const* viewport) const override;
Parameters¶
| Name | Description |
|---|---|
| viewport | The viewport used for the subsequent draw calls. |