DarkBASIC Professional Help File

DX11 SET RASTERIZER STATE MAX DEPTH BIAS

Sets the maximum depth bias allowed; any higher values will be clamped to the maximum value.
This can be used to alleviate issues where certain polygons gets extreme depth bias offsets at certain angles and
would thus render incorrectly.

Syntax

    DX11 SET RASTERIZER STATE MAX DEPTH BIAS rasterState, zBiasClamp

Parameters

    rasterState

> Dword
> The rasterizer state to set the maximum allowed depth bias of.

    zBiasClamp

> Float
> The maximum allowed depth bias value; any exceeding biases will be automatically clamped to this value.

Returns

This function does not return a value.

See also

RASTERIZERSTATE Functions Menu
DX11 Function Categories