DarkBASIC Professional Help File

DX11 SET STENCIL TEST ENABLED

Sets whether to use stencil testing when rendering meshes using the given depth stencil state.

Syntax

    DX11 SET STENCIL TEST ENABLED depthStencilState, enable

Parameters

    depthStencilState

> Dword
> The depth stencil state to set whether to use stencil testing when rendering with.

    enable

> Boolean
> Set to true to enable stencil testing or false to disable it.

Returns

This function does not return a value.

See also

DEPTHSTENCILSTATE Functions Menu
DX11 Function Categories