Skip to content

LiteFX::Rendering::Backends::VulkanRasterizerBuilder::depthBias

Initializes the rasterizer depth bias.

Synopsis

Declared in <litefx/rendering_builders.hpp>

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

Return Value

Note

The return value should not be discarded.

Parameters

NameDescription
depthBiasThe depth bias the rasterizer should use.