Export (0) Print
Expand All
Expand Minimize
1 out of 2 rated this helpful - Rate this topic

Format Enumeration

Defines various types of surface formats.

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

public enum Format
public enum Format
public enum Format
 Member nameDescription
Supported by the .NET Compact FrameworkA1R5G5B5A 16-bit pixel format that reserves 5 bits for each color and 1 bit for alpha. 
Supported by the .NET Compact FrameworkA4R4G4B4A 16-bit ARGB pixel format that uses 4 bits per channel. 
Supported by the .NET Compact FrameworkA88-bit alpha only. 
Supported by the .NET Compact FrameworkA8P8An 8-bit format, color-indexed with 8 bits of alpha. 
Supported by the .NET Compact FrameworkA8R3G3B2A 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 FrameworkA8R8G8B8A 32-bit ARGB pixel format, with alpha, that uses 8 bits per channel. 
Supported by the .NET Compact FrameworkD15S1A 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 FrameworkD16A 16-bit z-buffer bit depth. 
Supported by the .NET Compact FrameworkD24S8A 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 FrameworkD24X4S4A 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 FrameworkD24X8A 32-bit z-buffer bit depth that uses 24 bits for the depth channel. 
Supported by the .NET Compact FrameworkD32A 32-bit z-buffer bit depth. 
Supported by the .NET Compact FrameworkDxt1DXT1 compression texture format. 
Supported by the .NET Compact FrameworkDxt2DXT2 compression texture format. 
Supported by the .NET Compact FrameworkDxt3DXT3 compression texture format. 
Supported by the .NET Compact FrameworkDxt4DXT4 compression texture format. 
Supported by the .NET Compact FrameworkDxt5DXT5 compression texture format. 
Supported by the .NET Compact FrameworkIndex1616-bit index buffer format. 
Supported by the .NET Compact FrameworkIndex3232-bit index buffer format. 
Supported by the .NET Compact FrameworkP8An 8-bit format, color-indexed. 
Supported by the .NET Compact FrameworkR3G3B2An 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 FrameworkR5G6B5A 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 FrameworkR8G8B8A 24-bit RGB pixel format that uses 8 bits per channel. 
Supported by the .NET Compact FrameworkUnknownUnknown surface format. 
Supported by the .NET Compact FrameworkUYVYUYVY format (PC98 compliance). 
Supported by the .NET Compact FrameworkVertexDataVertex buffer surface. 
Supported by the .NET Compact FrameworkX1R5G5B5A 16-bit pixel format that reserves 5 bits for each color. 
Supported by the .NET Compact FrameworkX4R4G4B4A 16-bit RGB pixel format that uses 4 bits per color. 
Supported by the .NET Compact FrameworkX8R8G8B8A 32-bit RGB pixel format that reserves 8 bits for each color. 
Supported by the .NET Compact FrameworkYUY2YUY2 format (PC98 compliance). 

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Compact Framework

Supported in: 2.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.