LiteFX::Rendering::RasterizerBuilder::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¶
| Name | Description |
|---|---|
| mode | The polygon mode to initialize the rasterizer state with. |