DarkBASIC Professional Help File

DX11 SET DEPTH WRITE MASK

Sets the depth write mask of the specified depth stencil state.
This setting can currently only be used to either mask all depth writes out or in.

Syntax

    DX11 SET DEPTH WRITE MASK depthStencilState, mask

Parameters

    depthStencilState

> Dword
> The depth stencil state to set.

    mask

> Dword
> The write mask to set for the given depth stencil state. Must be one of the D3D11_DEPTH_WRITE_MASK_XXX constants.

Returns

This function does not return a value.

See also

DEPTHSTENCILSTATE Functions Menu
DX11 Function Categories