Share via


DepthFormat Enumeration

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
public enum DepthFormat
public enum DepthFormat

Members

  Member name Description
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 D16 A 16-bit z-buffer bit depth. 
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 D24X4S4 A 32-bit z-buffer bit depth that uses 24 bits for the depth channel and 4 bits for the stencil channel. 
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 D32 A 32-bit z-buffer bit depth. 
Supported by the .NET Compact Framework Unknown Format is unknown. 

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 Pocket PC, Windows Mobile for Smartphone

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

Microsoft.WindowsMobile.DirectX.Direct3D Namespace

Other Resources

Direct3D Programming