Share via


Format Enumeration

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

Defines various types of surface formats.

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

Syntax

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

Members

Member name Description
Supported by the .NET Compact Framework Unknown Unknown surface format.
Supported by the .NET Compact Framework R8G8B8 A 24-bit RGB pixel format that uses 8 bits per channel.
Supported by the .NET Compact Framework A8R8G8B8 A 32-bit ARGB pixel format, with alpha, that uses 8 bits per channel.
Supported by the .NET Compact Framework X8R8G8B8 A 32-bit RGB pixel format that reserves 8 bits for each color.
Supported by the .NET Compact Framework R5G6B5 A 16-bit RGB pixel format that uses 5 bits for red, 6 bits for green, and 5 bits for blue.
Supported by the .NET Compact Framework X1R5G5B5 A 16-bit pixel format that reserves 5 bits for each color.
Supported by the .NET Compact Framework A1R5G5B5 A 16-bit pixel format that reserves 5 bits for each color and 1 bit for alpha.
Supported by the .NET Compact Framework A4R4G4B4 A 16-bit ARGB pixel format that uses 4 bits per channel.
Supported by the .NET Compact Framework R3G3B2 An 8-bit RGB texture format that uses 3 bits for red, 3 bits for green, and 2 bits for blue.
Supported by the .NET Compact Framework A8R3G3B2 A 16-bit ARGB texture format that uses 8 bits for alpha, 3 bits each for red and green, and 2 bits for blue.
Supported by the .NET Compact Framework X4R4G4B4 A 16-bit RGB pixel format that uses 4 bits per color.
Supported by the .NET Compact Framework A8P8 An 8-bit format, color-indexed with 8 bits of alpha.
Supported by the .NET Compact Framework P8 An 8-bit format, color-indexed.
Supported by the .NET Compact Framework A8 8-bit alpha only.
Supported by the .NET Compact Framework UYVY UYVY format (PC98 compliance).
Supported by the .NET Compact Framework YUY2 YUY2 format (PC98 compliance).
Supported by the .NET Compact Framework Dxt1 DXT1 compression texture format.
Supported by the .NET Compact Framework Dxt2 DXT2 compression texture format.
Supported by the .NET Compact Framework Dxt3 DXT3 compression texture format.
Supported by the .NET Compact Framework Dxt4 DXT4 compression texture format.
Supported by the .NET Compact Framework Dxt5 DXT5 compression texture format.
Supported by the .NET Compact Framework VertexData Vertex buffer surface.
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 that reserves 15 bits for the depth channel and 1 bit for the stencil channel.
Supported by the .NET Compact Framework D24S8 A 32-bit z-buffer bit depth that uses 24 bits for the depth channel and 8 bits for the stencil channel.
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.
Supported by the .NET Compact Framework Index16 16-bit index buffer format.
Supported by the .NET Compact Framework Index32 32-bit index buffer format.

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