LiteFX::Rendering::Backends::DirectX12RasterizerBuilder::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¶
| Name | Description |
|---|---|
| depthBias | The depth bias the rasterizer should use. |