Share via


RenderStateManager.StencilPass Property

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

Namespace:  Microsoft.WindowsMobile.DirectX.Direct3D
Assembly:  Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)

Syntax

'Declaration
Public Property StencilPass As StencilOperation
'Usage
Dim instance As RenderStateManager 
Dim value As StencilOperation 

value = instance.StencilPass

instance.StencilPass = value
public StencilOperation StencilPass { get; set; }
public:
property StencilOperation StencilPass {
    StencilOperation get ();
    void set (StencilOperation value);
}
public function get StencilPass () : StencilOperation 
public function set StencilPass (value : StencilOperation)

Property Value

Type: Microsoft.WindowsMobile.DirectX.Direct3D.StencilOperation
Value of a StencilOperation that represents the value of the stencil operation to set or retrieve. The default is Keep.

.NET Framework Security

Platforms

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Compact Framework

Supported in: 3.5, 2.0

See Also

Reference

RenderStateManager Class

RenderStateManager Members

Microsoft.WindowsMobile.DirectX.Direct3D Namespace