Skip to content

LiteFX::Rendering::Backends::VulkanRasterizerBuilder::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

NameDescription
stencilStateThe stencil state of the rasterizer.