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 | |
---|---|---|
Unknown | Unknown surface format. | |
R8G8B8 | A 24-bit RGB pixel format that uses 8 bits per channel. | |
A8R8G8B8 | A 32-bit ARGB pixel format, with alpha, that uses 8 bits per channel. | |
X8R8G8B8 | A 32-bit RGB pixel format that reserves 8 bits for each color. | |
R5G6B5 | A 16-bit RGB pixel format that uses 5 bits for red, 6 bits for green, and 5 bits for blue. | |
X1R5G5B5 | A 16-bit pixel format that reserves 5 bits for each color. | |
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. | |
R3G3B2 | An 8-bit RGB texture format that uses 3 bits for red, 3 bits for green, and 2 bits for blue. | |
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. | |
X4R4G4B4 | A 16-bit RGB pixel format that uses 4 bits per color. | |
A8P8 | An 8-bit format, color-indexed with 8 bits of alpha. | |
P8 | An 8-bit format, color-indexed. | |
A8 | 8-bit alpha only. | |
UYVY | UYVY format (PC98 compliance). | |
YUY2 | YUY2 format (PC98 compliance). | |
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. | |
VertexData | Vertex buffer surface. | |
D32 | A 32-bit z-buffer bit depth. | |
D15S1 | A 16-bit z-buffer bit depth that reserves 15 bits for the depth channel and 1 bit for the stencil channel. | |
D24S8 | A 32-bit z-buffer bit depth that uses 24 bits for the depth channel and 8 bits for the stencil channel. | |
D16 | A 16-bit z-buffer bit depth. | |
D24X8 | A 32-bit z-buffer bit depth that uses 24 bits for the depth channel. | |
D24X4S4 | A 32-bit z-buffer bit depth that uses 24 bits for the depth channel and 4 bits for the stencil channel. | |
Index16 | 16-bit index buffer format. | |
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