Share via


RenderStateManager.StencilEnable Property (Microsoft.DirectX.Direct3D)

Retrieves or sets stencil enabling.

Definition

Visual Basic Public Property StencilEnable As Boolean
C# public bool StencilEnable { get; set; }
C++ public:
property bool StencilEnable {
        bool get();
        void set(bool value);
}
JScript public function get StencilEnable() : boolean
public function set StencilEnable(boolean);

Property Value

System.Boolean
Set to true to enable stenciling, or false to disable it.

This property is read/write. 

Remarks

The default value is false.