Share via


RenderStateManager.StencilWriteMask Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the write mask applied to values written into the stencil buffer.

Definition

Visual Basic Public Property StencilWriteMask As Integer
C# public int StencilWriteMask { get; set; }
C++ public:
property int StencilWriteMask {
        int get();
        void set(int value);
}
JScript public function get StencilWriteMask() : int
public function set StencilWriteMask(int);

Property Value

System.Int32
Integer value that represents the write mask to set or retrieve.

This property is read/write. 

Remarks

The default mask is 0xFFFFFFFF.