Skip to content

LiteFX::Rendering::ICommandBuffer::setViewports

Sets the viewport used for the subsequent draw calls.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] virtual void setViewports(IViewport const* viewport) const = 0;

Parameters

NameDescription
viewportThe viewport used for the subsequent draw calls.