Partager via


RasterCaps.SupportsZBufferLessHsr Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Determines whether a device can perform hidden-surface removal (HSR) without requiring the application to sort polygons and without requiring a depth buffer to be allocated.

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

Syntax

'Declaration
Public ReadOnly Property SupportsZBufferLessHsr As Boolean
    Get
'Usage
Dim instance As RasterCaps
Dim value As Boolean

value = instance.SupportsZBufferLessHsr
public bool SupportsZBufferLessHsr { get; }
public:
property bool SupportsZBufferLessHsr {
    bool get ();
}
member SupportsZBufferLessHsr : bool

Property Value

Type: System.Boolean
true if the device supports bufferless HSR; otherwise, false.

Remarks

Z-bufferless HSR leaves more video memory for textures. The method used to perform HSR is hardware-dependent and transparent to the application.

Z-bufferless HSR is performed only under the following conditions:

No depth buffer surface is associated with the render target surface.

The depth buffer comparison test is enabled. You can enable it by setting the ZBufferEnable property for a RenderStateManager to true.

.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

RasterCaps Structure

RasterCaps Members

Microsoft.WindowsMobile.DirectX.Direct3D Namespace