Format, énumération
Mise à jour : novembre 2007
Définit plusieurs types de formats de surface.
Espace de noms : Microsoft.WindowsMobile.DirectX.Direct3D
Assembly : Microsoft.WindowsMobile.DirectX (dans Microsoft.WindowsMobile.DirectX.dll)
Syntaxe
'Déclaration
Public Enumeration Format
'Utilisation
Dim instance As Format
public enum Format
public enum class Format
public enum Format
Membres
Nom de membre | Description | |
---|---|---|
![]() |
Unknown | Format de surface inconnu. |
![]() |
R8G8B8 | Format de pixel RVB 24 bits qui utilise 8 bits par canal. |
![]() |
A8R8G8B8 | Format de pixel ARVB 32 bits, avec alpha, qui utilise 8 bits par canal. |
![]() |
X8R8G8B8 | Format de pixel RVB 32 bits qui réserve 8 bits pour chaque couleur. |
![]() |
R5G6B5 | Format de pixel RVB 16 bits qui utilise 5 bits pour le rouge, 6 bits pour le vert, et 5 bits pour le bleu. |
![]() |
X1R5G5B5 | Format de pixel 16 bits qui réserve 5 bits pour chaque couleur. |
![]() |
A1R5G5B5 | Format de pixel 16 bits qui réserve 5 bits pour chaque couleur et 1 bit pour la valeur alpha. |
![]() |
A4R4G4B4 | Format de pixel ARVB 16 bits qui utilise 4 bits par canal. |
![]() |
R3G3B2 | Format de texture RVB 8 bits qui utilise 3 bits pour le rouge, 3 bits pour le vert, et 2 bits pour le bleu. |
![]() |
A8R3G3B2 | Format de texture ARVB 16 bits qui utilise 8 bits sur l'alpha, 3 bits chacun pour le rouge et le vert, et 2 bits pour le bleu. |
![]() |
X4R4G4B4 | Format de pixel RVB 16 bits qui utilise 4 bits par couleur. |
![]() |
A8P8 | Format 8 bits, indexé par couleur avec 8 bits d'alpha. |
![]() |
P8 | Format 8 bits, indexé par couleur. |
![]() |
A8 | Alpha sur 8 bits uniquement. |
![]() |
UYVY | Format UYVY (conformité PC98). |
![]() |
YUY2 | Format YUY2 (conformité PC98). |
![]() |
Dxt1 | Format de texture de compression DXT1. |
![]() |
Dxt2 | Format de texture de compression DXT2. |
![]() |
Dxt3 | Format de texture de compression DXT3. |
![]() |
Dxt4 | Format de texture de compression DXT4. |
![]() |
Dxt5 | Format de texture de compression DXT5. |
![]() |
VertexData | Surface de la mémoire tampon de vertex. |
![]() |
D32 | Profondeur de couleur (tampon Z) 32 bits. |
![]() |
D15S1 | Profondeur de couleur (tampon Z) 16 bits qui réserve 15 bits pour le canal de profondeur et 1 bit pour le canal de stencil. |
![]() |
D24S8 | Profondeur de couleur (tampon Z) 32 bits qui utilise 24 bits pour le canal de profondeur et 8 bits pour le canal de stencil. |
![]() |
D16 | Profondeur de couleur (tampon Z) 16 bits. |
![]() |
D24X8 | Profondeur de couleur (tampon Z) 32 bits qui utilise 24 bits pour le canal de profondeur. |
![]() |
D24X4S4 | Profondeur de couleur (tampon Z) 32 bits qui utilise 24 bits pour le canal de profondeur et 4 bits pour le canal de stencil. |
![]() |
Index16 | Format de tampon d'index 16 bits. |
![]() |
Index32 | Format de tampon d'index 32 bits. |
Plateformes
Windows CE, Windows Mobile pour Smartphone, Windows Mobile pour Pocket PC
Le .NET Framework et le .NET Compact Framework ne prennent pas en charge toutes les versions de chaque plateforme. Pour obtenir la liste des versions prises en charge, consultez Configuration requise du .NET Framework.
Informations de version
.NET Compact Framework
Pris en charge dans : 3.5, 2.0
Voir aussi
Référence
Microsoft.WindowsMobile.DirectX.Direct3D, espace de noms
Autres ressources
Programmation Direct3D Mobile dans le .NET Compact Framework