Delen via


DirectXPixelFormat Enum

Definition

Specifies pixel formats, which includes fully-typed and type-less formats. This is a Windows Runtime equivalent of the Desktop DXGI_FORMAT enumeration.

public enum class DirectXPixelFormat
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class DirectXPixelFormat
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum DirectXPixelFormat
var value = Windows.Graphics.DirectX.DirectXPixelFormat.unknown
Public Enum DirectXPixelFormat
Inheritance
DirectXPixelFormat
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Unknown 0

See DXGI_FORMAT_UNKNOWN.

R32G32B32A32Typeless 1

See DXGI_FORMAT_R32G32B32A32_TYPELESS.

R32G32B32A32Float 2

See DXGI_FORMAT_R32G32B32A32_FLOAT.

R32G32B32A32UInt 3

See DXGI_FORMAT_R32G32B32A32_UINT.

R32G32B32A32Int 4

See DXGI_FORMAT_R32G32B32A32_SINT.

R32G32B32Typeless 5

See DXGI_FORMAT_R32G32B32_TYPELESS.

R32G32B32Float 6

See DXGI_FORMAT_R32G32B32_FLOAT.

R32G32B32UInt 7

See DXGI_FORMAT_R32G32B32_UINT.

R32G32B32Int 8

See DXGI_FORMAT_R32G32B32_SINT.

R16G16B16A16Typeless 9

See DXGI_FORMAT_R16G16B16A16_TYPELESS.

R16G16B16A16Float 10

See DXGI_FORMAT_R16G16B16A16_FLOAT.

R16G16B16A16UIntNormalized 11

See DXGI_FORMAT_R16G16B16A16_UNORM.

R16G16B16A16UInt 12

See DXGI_FORMAT_R16G16B16A16_UINT.

R16G16B16A16IntNormalized 13

See DXGI_FORMAT_R16G16B16A16_SNORM.

R16G16B16A16Int 14

See DXGI_FORMAT_R16G16B16A16_SINT.

R32G32Typeless 15

See DXGI_FORMAT_R32G32_TYPELESS.

R32G32Float 16

See DXGI_FORMAT_R32G32_FLOAT.

R32G32UInt 17

See DXGI_FORMAT_R32G32_UINT.

R32G32Int 18

See DXGI_FORMAT_R32G32_SINT.

R32G8X24Typeless 19

See DXGI_FORMAT_R32G8X24_TYPELESS.

D32FloatS8X24UInt 20

See DXGI_FORMAT_D32_FLOAT_S8X24_UINT.

R32FloatX8X24Typeless 21

See DXGI_FORMAT_R32_FLOAT_X8X24_TYPELESS.

X32TypelessG8X24UInt 22

See DXGI_FORMAT_X32_TYPELESS_G8X24_UINT.

R10G10B10A2Typeless 23

See DXGI_FORMAT_R10G10B10A2_TYPELESS.

R10G10B10A2UIntNormalized 24

See DXGI_FORMAT_R10G10B10A2_UNORM.

R10G10B10A2UInt 25

See DXGI_FORMAT_R10G10B10A2_UINT.

R11G11B10Float 26

See DXGI_FORMAT_R11G11B10_FLOAT.

R8G8B8A8Typeless 27

See DXGI_FORMAT_R8G8B8A8_TYPELESS.

R8G8B8A8UIntNormalized 28

See DXGI_FORMAT_R8G8B8A8_UNORM.

R8G8B8A8UIntNormalizedSrgb 29

See DXGI_FORMAT_R8G8B8A8_UNORM_SRGB.

R8G8B8A8UInt 30

See DXGI_FORMAT_R8G8B8A8_UINT.

R8G8B8A8IntNormalized 31

See DXGI_FORMAT_R8G8B8A8_SNORM.

R8G8B8A8Int 32

See DXGI_FORMAT_R8G8B8A8_SINT.

R16G16Typeless 33

See DXGI_FORMAT_R16G16_TYPELESS.

R16G16Float 34

See DXGI_FORMAT_R16G16_FLOAT.

R16G16UIntNormalized 35

See DXGI_FORMAT_R16G16_UNORM.

R16G16UInt 36

See DXGI_FORMAT_R16G16_UINT.

R16G16IntNormalized 37

See DXGI_FORMAT_R16G16_SNORM.

R16G16Int 38

See DXGI_FORMAT_R16G16_SINT.

R32Typeless 39

See DXGI_FORMAT_R32_TYPELESS.

D32Float 40

See DXGI_FORMAT_D32_FLOAT.

R32Float 41

See DXGI_FORMAT_R32_FLOAT.

R32UInt 42

See DXGI_FORMAT_R32_UINT.

R32Int 43

See DXGI_FORMAT_R32_SINT.

R24G8Typeless 44

See DXGI_FORMAT_R24G8_TYPELESS.

D24UIntNormalizedS8UInt 45

See DXGI_FORMAT_D24_UNORM_S8_UINT.

R24UIntNormalizedX8Typeless 46

See DXGI_FORMAT_R24_UNORM_X8_TYPELESS.

X24TypelessG8UInt 47

See DXGI_FORMAT_X24_TYPELESS_G8_UINT.

R8G8Typeless 48

See DXGI_FORMAT_R8G8_TYPELESS.

R8G8UIntNormalized 49

See DXGI_FORMAT_R8G8_UNORM.

R8G8UInt 50

See DXGI_FORMAT_R8G8_UINT.

R8G8IntNormalized 51

See DXGI_FORMAT_R8G8_SNORM.

R8G8Int 52

See DXGI_FORMAT_R8G8_SINT.

R16Typeless 53

See DXGI_FORMAT_R16_TYPELESS.

R16Float 54

See DXGI_FORMAT_R16_FLOAT.

D16UIntNormalized 55

See DXGI_FORMAT_D16_UNORM.

R16UIntNormalized 56

See DXGI_FORMAT_R16_UNORM.

R16UInt 57

See DXGI_FORMAT_R16_UINT.

R16IntNormalized 58

See DXGI_FORMAT_R16_SNORM.

R16Int 59

See DXGI_FORMAT_R16_SINT.

R8Typeless 60

See DXGI_FORMAT_R8_TYPELESS.

R8UIntNormalized 61

See DXGI_FORMAT_R8_UNORM.

R8UInt 62

See DXGI_FORMAT_R8_UINT.

R8IntNormalized 63

See DXGI_FORMAT_R8_SNORM.

R8Int 64

See DXGI_FORMAT_R8_SINT.

A8UIntNormalized 65

See DXGI_FORMAT_A8_UNORM.

R1UIntNormalized 66

See DXGI_FORMAT_R1_UNORM.

R9G9B9E5SharedExponent 67

See DXGI_FORMAT_R9G9B9E5_SHAREDEXP.

R8G8B8G8UIntNormalized 68

See DXGI_FORMAT_R8G8_B8G8_UNORM.

G8R8G8B8UIntNormalized 69

See DXGI_FORMAT_G8R8_G8B8_UNORM.

BC1Typeless 70

See DXGI_FORMAT_BC1_TYPELESS.

BC1UIntNormalized 71

See DXGI_FORMAT_BC1_UNORM.

BC1UIntNormalizedSrgb 72

See DXGI_FORMAT_BC1_UNORM_SRGB.

BC2Typeless 73

See DXGI_FORMAT_BC2_TYPELESS.

BC2UIntNormalized 74

See DXGI_FORMAT_BC2_UNORM.

BC2UIntNormalizedSrgb 75

See DXGI_FORMAT_BC2_UNORM_SRGB.

BC3Typeless 76

See DXGI_FORMAT_BC3_TYPELESS.

BC3UIntNormalized 77

See DXGI_FORMAT_BC3_UNORM.

BC3UIntNormalizedSrgb 78

See DXGI_FORMAT_BC3_UNORM_SRGB.

BC4Typeless 79

See DXGI_FORMAT_BC4_TYPELESS.

BC4UIntNormalized 80

See DXGI_FORMAT_BC4_UNORM.

BC4IntNormalized 81

See DXGI_FORMAT_BC4_SNORM.

BC5Typeless 82

See DXGI_FORMAT_BC5_TYPELESS.

BC5UIntNormalized 83

See DXGI_FORMAT_BC5_UNORM.

BC5IntNormalized 84

See DXGI_FORMAT_BC5_SNORM.

B5G6R5UIntNormalized 85

See DXGI_FORMAT_B5G6R5_UNORM.

B5G5R5A1UIntNormalized 86

See DXGI_FORMAT_B5G5R5A1_UNORM.

B8G8R8A8UIntNormalized 87

See DXGI_FORMAT_B8G8R8A8_UNORM.

B8G8R8X8UIntNormalized 88

See DXGI_FORMAT_B8G8R8X8_UNORM.

R10G10B10XRBiasA2UIntNormalized 89

See DXGI_FORMAT_R10G10B10_XR_BIAS_A2_UNORM.

B8G8R8A8Typeless 90

See DXGI_FORMAT_B8G8R8A8_TYPELESS.

B8G8R8A8UIntNormalizedSrgb 91

See DXGI_FORMAT_B8G8R8A8_UNORM_SRGB.

B8G8R8X8Typeless 92

See DXGI_FORMAT_B8G8R8X8_TYPELESS.

B8G8R8X8UIntNormalizedSrgb 93

See DXGI_FORMAT_B8G8R8X8_UNORM_SRGB.

BC6HTypeless 94

See DXGI_FORMAT_BC6H_TYPELESS.

BC6H16UnsignedFloat 95

See DXGI_FORMAT_BC6H_UF16.

BC6H16Float 96

See DXGI_FORMAT_BC6H_SF16.

BC7Typeless 97

See DXGI_FORMAT_BC7_TYPELESS.

BC7UIntNormalized 98

See DXGI_FORMAT_BC7_UNORM.

BC7UIntNormalizedSrgb 99

See DXGI_FORMAT_BC7_UNORM_SRGB.

Ayuv 100

See DXGI_FORMAT_AYUV.

Y410 101

See DXGI_FORMAT_Y410.

Y416 102

See DXGI_FORMAT_Y416.

NV12 103

See DXGI_FORMAT_NV12.

P010 104

See DXGI_FORMAT_P010.

P016 105

See DXGI_FORMAT_P016.

Opaque420 106

See DXGI_FORMAT_420_OPAQUE.

Yuy2 107

See DXGI_FORMAT_YUY2.

Y210 108

See DXGI_FORMAT_Y210.

Y216 109

See DXGI_FORMAT_Y216.

NV11 110

See DXGI_FORMAT_NV11.

AI44 111

See DXGI_FORMAT_AI44.

IA44 112

See DXGI_FORMAT_IA44.

P8 113

See DXGI_FORMAT_P8.

A8P8 114

See DXGI_FORMAT_A8P8.

B4G4R4A4UIntNormalized 115

See DXGI_FORMAT_B4G4R4A4_UNORM.

P208 130

See DXGI_FORMAT_P208.

V208 131

See DXGI_FORMAT_V208.

V408 132

See DXGI_FORMAT_V408.

SamplerFeedbackMinMipOpaque 189

See DXGI_FORMAT_SAMPLER_FEEDBACK_MIN_MIP_OPAQUE.

SamplerFeedbackMipRegionUsedOpaque 190

See DXGI_FORMAT_SAMPLER_FEEDBACK_MIP_REGION_USED_OPAQUE.

A4B4G4R4 191

Remarks

Refer to DXGI_FORMAT for descriptions of these formats.

Version history

Windows version SDK version Value added
2004 19041 SamplerFeedbackMinMipOpaque
2004 19041 SamplerFeedbackMipRegionUsedOpaque

Applies to