Skip to content

LiteFX::Rendering::Backends::DirectX12RasterizerBuilder::depthState

Initializes the rasterizer depth state.

Synopsis

Declared in <litefx/rendering_builders.hpp>

template<typename TSelf>
[[nodiscard]] constexpr TSelf&& depthState(this 
    TSelf&& self,
    DepthStencilState::DepthState const& depthState) noexcept;

Return Value

Note

The return value should not be discarded.

Parameters

NameDescription
depthStateThe depth state of the rasterizer.