LiteFX::Rendering::Backends::DirectX12RasterizerBuilder::cullMode¶
Initializes the rasterizer state with the provided cull mode.
Synopsis¶
Declared in <litefx/rendering_builders.hpp>
template<typename TSelf>
[[nodiscard]] constexpr TSelf&& cullMode(this
TSelf&& self,
CullMode mode) noexcept;
Return Value¶
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| mode | The cull mode to initialize the rasterizer state with. |