DarkBASIC Professional Help File

DX11 SET BACKFACE STENCIL TEST FUNCTION

Sets the function used to used to perform stencil tests for faces facing away from the rendering camera (backfaces).
This allows various comparison functions to be used to compare stencil data to data already present in the stencil buffer.

Syntax

    DX11 SET BACKFACE STENCIL TEST FUNCTION depthStencilState, func

Parameters

    depthStencilState

> Dword
> The depth stencil state to set the stencil test comparison function for back-facing polygons of.

    func

> Dword
> The stencil test comparison function to set. 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