LiteFX::Rendering::Backends::DirectX12RasterizerBuilder::stencilState¶
Initializes the rasterizer stencil state.
Synopsis¶
Declared in <litefx/rendering_builders.hpp>
template<typename TSelf>
[[nodiscard]] constexpr TSelf&& stencilState(this
TSelf&& self,
DepthStencilState::StencilState const& stencilState) noexcept;
Return Value¶
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| stencilState | The stencil state of the rasterizer. |