Share via


RenderStateManager.StencilZBufferFail Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the stencil operation to perform if the stencil test passes and the depth test (z-test) fails.

Definition

Visual Basic Public Property StencilZBufferFail As StencilOperation
C# public StencilOperation StencilZBufferFail { get; set; }
C++ public:
property StencilOperation StencilZBufferFail {
        StencilOperation get();
        void set(StencilOperation value);
}
JScript public function get StencilZBufferFail() : StencilOperation
public function set StencilZBufferFail(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.