Share via


RenderStateManager.StencilPass Property (Microsoft.DirectX.Direct3D)

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

Definition

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