Share via


RenderStateManager.StencilFail Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the stencil operation to perform if the stencil test fails.

Definition

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

Property Value

Microsoft.DirectX.Direct3D.StencilOperation
Value of the StencilOperation enumeration that represents the value of the stencil operation to set or retrieve.

This property is read/write. 

Remarks

The default value is StencilOperation.Keep.