Format Enumeration
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
public enum Format
public enum Format
Members
Member name | Description | |
---|---|---|
A1R5G5B5 | A 16-bit pixel format that reserves 5 bits for each color and 1 bit for alpha. | |
A4R4G4B4 | A 16-bit ARGB pixel format that uses 4 bits per channel. | |
A8 | 8-bit alpha only. | |
A8P8 | An 8-bit format, color-indexed with 8 bits of alpha. | |
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. | |
A8R8G8B8 | A 32-bit ARGB pixel format, with alpha, that uses 8 bits per channel. | |
D15S1 | A 16-bit z-buffer bit depth that reserves 15 bits for the depth channel and 1 bit for the stencil channel. | |
D16 | A 16-bit z-buffer bit depth. | |
D24S8 | A 32-bit z-buffer bit depth that uses 24 bits for the depth channel and 8 bits for the stencil channel. | |
D24X4S4 | A 32-bit z-buffer bit depth that uses 24 bits for the depth channel and 4 bits for the stencil channel. | |
D24X8 | A 32-bit z-buffer bit depth that uses 24 bits for the depth channel. | |
D32 | A 32-bit z-buffer bit depth. | |
Dxt1 | DXT1 compression texture format. | |
Dxt2 | DXT2 compression texture format. | |
Dxt3 | DXT3 compression texture format. | |
Dxt4 | DXT4 compression texture format. | |
Dxt5 | DXT5 compression texture format. | |
Index16 | 16-bit index buffer format. | |
Index32 | 32-bit index buffer format. | |
P8 | An 8-bit format, color-indexed. | |
R3G3B2 | An 8-bit RGB texture format that uses 3 bits for red, 3 bits for green, and 2 bits for blue. | |
R5G6B5 | A 16-bit RGB pixel format that uses 5 bits for red, 6 bits for green, and 5 bits for blue. | |
R8G8B8 | A 24-bit RGB pixel format that uses 8 bits per channel. | |
Unknown | Unknown surface format. | |
UYVY | UYVY format (PC98 compliance). | |
VertexData | Vertex buffer surface. | |
X1R5G5B5 | A 16-bit pixel format that reserves 5 bits for each color. | |
X4R4G4B4 | A 16-bit RGB pixel format that uses 4 bits per color. | |
X8R8G8B8 | A 32-bit RGB pixel format that reserves 8 bits for each color. | |
YUY2 | YUY2 format (PC98 compliance). |
Platforms
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.
Version Information
.NET Compact Framework
Supported in: 2.0
See Also
Reference
Microsoft.WindowsMobile.DirectX.Direct3D Namespace