DarkBASIC Professional Help File

DX11 SET BACKFACE STENCIL FAIL OPERATION

Sets the stencil operation to use when a stencil test fails with the given depth stencil state for faces facing away from the rendering camera (backfaces).
Various operations can be used that either keep the old stencil buffer value, overwrites it with the current one, increments, decrements, inverts or sets it to zero and so forth.

Syntax

    DX11 SET BACKFACE STENCIL FAIL OPERATION depthStencilState, stencilOperation

Parameters

    depthStencilState

> Dword
> The depth stencil state to set the stencil operation of in the event of backface stencil test failure.

    stencilOperation

> Dword
> The stencil operation to set. Must be one of the D3D11_STENCIL_OP_XXX constants.

Returns

This function does not return a value.

See also

DEPTHSTENCILSTATE Functions Menu
DX11 Function Categories