Skip to content

LiteFX::Rendering::Backends::DirectX12RasterizerBuilder::polygonMode

Initializes the rasterizer state with the provided polygon mode.

Synopsis

Declared in <litefx/rendering_builders.hpp>

template<typename TSelf>
[[nodiscard]] constexpr TSelf&& polygonMode(this 
    TSelf&& self,
    PolygonMode mode) noexcept;

Return Value

Note

The return value should not be discarded.

Parameters

NameDescription
modeThe polygon mode to initialize the rasterizer state with.