다음을 통해 공유


DepthFormat Enumeration

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

Defines depth buffer formats.

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

Syntax

'Declaration
Public Enumeration DepthFormat
'Usage
Dim instance As DepthFormat
public enum DepthFormat
public enum class DepthFormat
type DepthFormat

Members

Member name Description
Supported by the .NET Compact Framework Unknown Format is unknown.
Supported by the .NET Compact Framework D32 A 32-bit z-buffer bit depth.
Supported by the .NET Compact Framework D15S1 A 16-bit z-buffer bit depth in which 15 bits are reserved for the depth channel and 1 bit is reserved for the stencil channel.
Supported by the .NET Compact Framework D24S8 A non-lockable format that contains 24 bits of depth (in a 24-bit floating-point format - 20E4) and 8 bits of stencil.
Supported by the .NET Compact Framework D16 A 16-bit z-buffer bit depth.
Supported by the .NET Compact Framework D24X8 A 32-bit z-buffer bit depth that uses 24 bits for the depth channel.
Supported by the .NET Compact Framework D24X4S4 A 32-bit z-buffer bit depth that uses 24 bits for the depth channel and 4 bits for the stencil channel.

Remarks

All depth-stencil formats indicate no particular bit ordering per pixel. In depth channels, but not stencil channels, the driver is allowed to consume more than the indicated number of bits per depth channel.

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

Microsoft.WindowsMobile.DirectX.Direct3D Namespace

Other Resources

Mobile Direct3D Programming in the .NET Compact Framework