DarkBASIC Professional Help File

DX11 SET DEPTH TEST FUNCTION

Sets the function used to perform the depth test with the given depth stencil state.
This allows various comparison functions to be used to compare depth data to data already present in the depth buffer.

Syntax

    DX11 SET DEPTH TEST FUNCTION depthStencilState, func

Parameters

    depthStencilState

> Dword
> The depth stencil state to set the depth test comparison function of.

    func

> Dword
> The depth test comparison function. Must be one of the D3D11_COMPARISON_XXX constants.

Returns

This function does not return a value.

See also

DEPTHSTENCILSTATE Functions Menu
DX11 Function Categories