Skip to content

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

NameDescription
viewportThe viewport used for the subsequent draw calls.