RenderStateManager.StencilFail Property

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET Public Property StencilFail As StencilOperation
C# public StencilOperation StencilFail { get; set; }
Managed C++ public: __property StencilOperation get_StencilFail();
public: __property void set_StencilFail(StencilOperation);
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.