PixelFormat

PixelFormat enumeration

Le format de pixel utilisé dans l’unité de texture.

public enum PixelFormat

Valeurs

Nom Évaluer La description
Unknown 0 Format de pixel inconnu.
L8 1 Format pixel 8 bits, luminance tous bits.
L16 2 Format pixel 16 bits, luminance tous bits.
A8 3 Format pixel 8 bits, tous les bits alpha.
A4L4 4 Format pixel 8 bits, alpha 4 bits, luminance 4 bits.
BYTE_LA 5 format pixel 2 octets, luminance 1 octet, alpha 1 octet
R5G6B5 6 Format pixel 16 bits, 5 bits rouge, 6 bits vert, 5 bits bleu.
B5G6R5 7 Format pixel 16 bits, 5 bits rouge, 6 bits vert, 5 bits bleu.
R3G3B2 8 Format pixel 8 bits, 2 bits bleu, 3 bits vert, 3 bits rouge.
A4R4G4B4 9 Format pixel 16 bits, 4 bits pour alpha, rouge, vert et bleu.
A1R5G5B5 10 Format pixel 16 bits, 5 bits pour le bleu, le vert, le rouge et 1 pour l’alpha.
R8G8B8 11 Format pixel 24 bits, 8 bits pour le rouge, le vert et le bleu.
B8G8R8 12 Format pixel 24 bits, 8 bits pour le bleu, le vert et le rouge.
A8R8G8B8 13 Format pixel 32 bits, 8 bits pour alpha, rouge, vert et bleu.
A8B8G8R8 14 Format pixel 32 bits, 8 bits pour bleu, vert, rouge et alpha.
B8G8R8A8 15 Format pixel 32 bits, 8 bits pour bleu, vert, rouge et alpha.
R8G8B8A8 16 Format pixel 32 bits, 8 bits pour le rouge, le vert, le bleu et l’alpha.
X8R8G8B8 17 Format de pixel 32 bits, 8 bits pour le rouge, 8 bits pour le vert, 8 bits pour le bleu comme A8R8G8B8, mais alpha sera supprimé
X8B8G8R8 18 Format de pixel 32 bits, 8 bits pour le bleu, 8 bits pour le vert, 8 bits pour le rouge comme A8B8G8R8, mais alpha sera supprimé
A2R10G10B10 19 Format pixel 32 bits, 2 bits pour alpha, 10 bits pour rouge, vert et bleu.
A2B10G10R10 20 Format pixel 32 bits, 10 bits pour le bleu, le vert et le rouge, 2 bits pour l’alpha.
DXT1 21 Format DDS (DirectDraw Surface) DXT1.
DXT2 22 Format DDS (DirectDraw Surface) DXT2.
DXT3 23 Format DDS (DirectDraw Surface) DXT3.
DXT4 24 Format DDS (DirectDraw Surface) DXT4.
DXT5 25 Format DDS (DirectDraw Surface) DXT5.
FLOAT16_R 26 Format pixel 16 bits, 16 bits (flottant) pour le rouge
FLOAT16_RGB 27 Format pixel 48 bits, 16 bits (flottant) pour le rouge, 16 bits (flottant) pour le vert, 16 bits (flottant) pour le bleu
FLOAT16_RGBA 28 Format pixel 64 bits, 16 bits (flottant) pour le rouge, 16 bits (flottant) pour le vert, 16 bits (flottant) pour le bleu, 16 bits (flottant) pour l’alpha
FLOAT32_R 29 Format pixel 32 bits, 32 bits (flottant) pour le rouge
FLOAT32_RGB 30 Format pixel 96 bits, 32 bits (flottant) pour le rouge, 32 bits (flottant) pour le vert, 32 bits (flottant) pour le bleu
FLOAT32_RGBA 31 Format pixel 128 bits, 32 bits (flottant) pour le rouge, 32 bits (flottant) pour le vert, 32 bits (flottant) pour le bleu, 32 bits (flottant) pour l’alpha
FLOAT16_GR 32 Format pixel à virgule flottante s10e5 32 bits, 2 canaux, vert 16 bits, rouge 16 bits
FLOAT32_GR 33 Format pixel à virgule flottante 64 bits, 2 canaux, vert 32 bits, rouge 32 bits
DEPTH 34 Format de texture de profondeur.
SHORT_RGBA 35 Format pixel 64 bits, 16 bits pour le rouge, le vert, le bleu et l’alpha
SHORT_GR 36 Format pixel 32 bits, vert 16 bits, rouge 16 bits
SHORT_RGB 37 Format pixel 48 bits, 16 bits pour le rouge, le vert et le bleu
R32_UINT 38 Format pixel 32 bits, rouge 32 bits (entier non signé).
R32G32_UINT 39 Format pixel 64 bits, 32 bits rouge (entier non signé), 32 bits bleu (entier non signé).
R32G32B32A32_UINT 40 Format pixel 128 bits, 32 bits rouge (entier non signé), 32 bits bleu (int non signé), 32 bits vert (int non signé), 32 bits alpha (int non signé).
R8 41 Format pixel 8 bits, tous les bits rouges.

Voir également