DarkBASIC Professional Help File

DX11 SET RASTERIZER STATE DEPTH BIAS

Sets a depth bias value that is added to each pixel during rendering.
This can be used to separate polygons that have the same depth in view space and would normally cause z fighting.

Syntax

    DX11 SET RASTERIZER STATE DEPTH BIAS rasterState, zBias

Parameters

    rasterState

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

    zBias

> Integer
> The depth bias to set for the given rasterizer state.

Returns

This function does not return a value.

See also

RASTERIZERSTATE Functions Menu
DX11 Function Categories