Skip to content

LiteFX::Rendering::Backends::DirectX12RasterizerBuilder::depthClip

Initializes the depth clip toggle for the rasterizer state.

Synopsis

Declared in <litefx/rendering_builders.hpp>

template<typename TSelf>
[[nodiscard]] constexpr TSelf&& depthClip(this 
    TSelf&& self,
    bool depthClip) noexcept;

Return Value

Note

The return value should not be discarded.

Parameters

NameDescription
depthClipThe depth clip toggle for the rasterizer state.