Share via


RenderStateManager.StencilZBufferFail Property

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

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

Syntax

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

value = instance.StencilZBufferFail

instance.StencilZBufferFail = value
public StencilOperation StencilZBufferFail { get; set; }
public:
property StencilOperation StencilZBufferFail {
    StencilOperation get ();
    void set (StencilOperation value);
}
public function get StencilZBufferFail () : StencilOperation 
public function set StencilZBufferFail (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