LiteFX::Rendering::Backends::DirectX12RasterizerBuilder::conservativeRasterization¶
Initializes the rasterizer state with conservative rasterization.
Synopsis¶
Declared in <litefx/rendering_builders.hpp>
template<typename TSelf>
[[nodiscard]] constexpr TSelf&& conservativeRasterization(this
TSelf&& self,
bool enable) noexcept;
Return Value¶
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| enable | true, if the rasterizer should use conservative rasterization and false otherwise. |