Enum RenderingDevice.DataFormat
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum RenderingDevice.DataFormat : long
Fields
A1R5G5B5UnormPack16 = 7
Alpha/red/green/blue channel data format with 1 bit of alpha, 5 bits of red, 6 bits of green and 5 bits of blue, packed into 16 bits. Values are in the
[0.0, 1.0]
range.A2B10G10R10SintPack32 = 68
Signed integer alpha/blue/green/red channel data format with normalized value, packed in 32 bits. Format contains 2 bits of alpha, 10 bits of blue, 10 bits of green and 10 bits of red. Values are in the
[-511, 511]
range for blue/green/red and[-1, 1]
for alpha.A2B10G10R10SnormPack32 = 64
Signed floating-point alpha/blue/green/red channel data format with normalized value, packed in 32 bits. Format contains 2 bits of alpha, 10 bits of blue, 10 bits of green and 10 bits of red. Values are in the
[-1.0, 1.0]
range.A2B10G10R10SscaledPack32 = 66
Signed floating-point alpha/blue/green/red channel data format with normalized value, packed in 32 bits. Format contains 2 bits of alpha, 10 bits of blue, 10 bits of green and 10 bits of red. Values are in the
[-511.0, 511.0]
range for blue/green/red and[-1.0, 1.0]
for alpha.A2B10G10R10UintPack32 = 67
Unsigned integer alpha/blue/green/red channel data format with normalized value, packed in 32 bits. Format contains 2 bits of alpha, 10 bits of blue, 10 bits of green and 10 bits of red. Values are in the
[0, 1023]
range for blue/green/red and[0, 3]
for alpha.A2B10G10R10UnormPack32 = 63
Unsigned floating-point alpha/blue/green/red channel data format with normalized value, packed in 32 bits. Format contains 2 bits of alpha, 10 bits of blue, 10 bits of green and 10 bits of red. Values are in the
[0.0, 1.0]
range.A2B10G10R10UscaledPack32 = 65
Unsigned floating-point alpha/blue/green/red channel data format with normalized value, packed in 32 bits. Format contains 2 bits of alpha, 10 bits of blue, 10 bits of green and 10 bits of red. Values are in the
[0.0, 1023.0]
range for blue/green/red and[0.0, 3.0]
for alpha.A2R10G10B10SintPack32 = 62
Signed integer alpha/red/green/blue channel data format with normalized value, packed in 32 bits. Format contains 2 bits of alpha, 10 bits of red, 10 bits of green and 10 bits of blue. Values are in the
[-511, 511]
range for red/green/blue and[-1, 1]
for alpha.A2R10G10B10SnormPack32 = 58
Signed floating-point alpha/red/green/blue channel data format with normalized value, packed in 32 bits. Format contains 2 bits of alpha, 10 bits of red, 10 bits of green and 10 bits of blue. Values are in the
[-1.0, 1.0]
range.A2R10G10B10SscaledPack32 = 60
Signed floating-point alpha/red/green/blue channel data format with normalized value, packed in 32 bits. Format contains 2 bits of alpha, 10 bits of red, 10 bits of green and 10 bits of blue. Values are in the
[-511.0, 511.0]
range for red/green/blue and[-1.0, 1.0]
for alpha.A2R10G10B10UintPack32 = 61
Unsigned integer alpha/red/green/blue channel data format with normalized value, packed in 32 bits. Format contains 2 bits of alpha, 10 bits of red, 10 bits of green and 10 bits of blue. Values are in the
[0, 1023]
range for red/green/blue and[0, 3]
for alpha.A2R10G10B10UnormPack32 = 57
Unsigned floating-point alpha/red/green/blue channel data format with normalized value, packed in 32 bits. Format contains 2 bits of alpha, 10 bits of red, 10 bits of green and 10 bits of blue. Values are in the
[0.0, 1.0]
range.A2R10G10B10UscaledPack32 = 59
Unsigned floating-point alpha/red/green/blue channel data format with normalized value, packed in 32 bits. Format contains 2 bits of alpha, 10 bits of red, 10 bits of green and 10 bits of blue. Values are in the
[0.0, 1023.0]
range for red/green/blue and[0.0, 3.0]
for alpha.A8B8G8R8SintPack32 = 55
8-bit-per-channel signed integer alpha/red/green/blue channel data format, packed in 32 bits. Values are in the
[-127, 127]
range.A8B8G8R8SnormPack32 = 51
8-bit-per-channel signed floating-point alpha/red/green/blue channel data format with normalized value, packed in 32 bits. Values are in the
[-1.0, 1.0]
range.A8B8G8R8SrgbPack32 = 56
8-bit-per-channel unsigned floating-point alpha/red/green/blue channel data format with normalized value and non-linear sRGB encoding, packed in 32 bits. Values are in the
[0.0, 1.0]
range.A8B8G8R8SscaledPack32 = 53
8-bit-per-channel signed floating-point alpha/red/green/blue channel data format with scaled value (value is converted from integer to float), packed in 32 bits. Values are in the
[-127.0, 127.0]
range.A8B8G8R8UintPack32 = 54
8-bit-per-channel unsigned integer alpha/red/green/blue channel data format, packed in 32 bits. Values are in the
[0, 255]
range.A8B8G8R8UnormPack32 = 50
8-bit-per-channel unsigned floating-point alpha/red/green/blue channel data format with normalized value, packed in 32 bits. Values are in the
[0.0, 1.0]
range.A8B8G8R8UscaledPack32 = 52
8-bit-per-channel unsigned floating-point alpha/red/green/blue channel data format with scaled value (value is converted from integer to float), packed in 32 bits. Values are in the
[0.0, 255.0]
range.Astc10X10SrgbBlock = 179
VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 10×10 blocks. Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc10X10UnormBlock = 178
VRAM-compressed unsigned floating-point data format with normalized value, packed in 10×10 blocks. Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc10X5SrgbBlock = 173
VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 10×5 blocks. Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc10X5UnormBlock = 172
VRAM-compressed unsigned floating-point data format with normalized value, packed in 10×5 blocks. Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc10X6SrgbBlock = 175
VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 10×6 blocks. Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc10X6UnormBlock = 174
VRAM-compressed unsigned floating-point data format with normalized value, packed in 10×6 blocks. Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc10X8SrgbBlock = 177
VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 10×8 blocks. Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc10X8UnormBlock = 176
VRAM-compressed unsigned floating-point data format with normalized value, packed in 10×8 blocks. Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc12X10SrgbBlock = 181
VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 12×10 blocks. Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc12X10UnormBlock = 180
VRAM-compressed unsigned floating-point data format with normalized value, packed in 12×10 blocks. Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc12X12SrgbBlock = 183
VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 12 blocks (lowest quality). Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc12X12UnormBlock = 182
VRAM-compressed unsigned floating-point data format with normalized value, packed in 12 blocks (lowest quality). Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc4X4SrgbBlock = 157
VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 4×4 blocks (highest quality). Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc4X4UnormBlock = 156
VRAM-compressed unsigned floating-point data format with normalized value, packed in 4×4 blocks (highest quality). Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc5X4SrgbBlock = 159
VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 5×4 blocks. Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc5X4UnormBlock = 158
VRAM-compressed unsigned floating-point data format with normalized value, packed in 5×4 blocks. Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc5X5SrgbBlock = 161
VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 5×5 blocks. Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc5X5UnormBlock = 160
VRAM-compressed unsigned floating-point data format with normalized value, packed in 5×5 blocks. Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc6X5SrgbBlock = 163
VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 6×5 blocks. Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc6X5UnormBlock = 162
VRAM-compressed unsigned floating-point data format with normalized value, packed in 6×5 blocks. Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc6X6SrgbBlock = 165
VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 6×6 blocks. Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc6X6UnormBlock = 164
VRAM-compressed unsigned floating-point data format with normalized value, packed in 6×6 blocks. Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc8X5SrgbBlock = 167
VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 8×5 blocks. Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc8X5UnormBlock = 166
VRAM-compressed unsigned floating-point data format with normalized value, packed in 8×5 blocks. Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc8X6SrgbBlock = 169
VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 8×6 blocks. Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc8X6UnormBlock = 168
VRAM-compressed unsigned floating-point data format with normalized value, packed in 8×6 blocks. Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc8X8SrgbBlock = 171
VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 8×8 blocks. Values are in the
[0.0, 1.0]
range. Using ASTC compression.Astc8X8UnormBlock = 170
VRAM-compressed unsigned floating-point data format with normalized value, packed in 8×8 blocks. Values are in the
[0.0, 1.0]
range. Using ASTC compression.B10G11R11UfloatPack32 = 121
Unsigned floating-point blue/green/red data format with the value stored as-is, packed in 32 bits. The format's precision is 10 bits of blue channel, 11 bits of green channel and 11 bits of red channel.
B10X6G10X6R10X6G10X6422Unorm4Pack16 = 195
10-bit-per-channel unsigned floating-point blue/green/red/green channel data with normalized value, plus 6 unused bits after each channel, packed in 4×16 bits. Values are in the
[0.0, 1.0]
range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel). The green channel is listed twice, but contains different values to allow it to be represented at full resolution.B12X4G12X4R12X4G12X4422Unorm4Pack16 = 205
12-bit-per-channel unsigned floating-point blue/green/red/green channel data with normalized value, plus 6 unused bits after each channel, packed in 4×16 bits. Values are in the
[0.0, 1.0]
range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel). The green channel is listed twice, but contains different values to allow it to be represented at full resolution.B16G16R16G16422Unorm = 212
16-bit-per-channel unsigned floating-point blue/green/red channel data format with normalized value. Values are in the
[0.0, 1.0]
range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel).B4G4R4A4UnormPack16 = 2
4-bit-per-channel blue/green/red/alpha channel data format, packed into 16 bits. Values are in the
[0.0, 1.0]
range.B5G5R5A1UnormPack16 = 6
Blue/green/red/alpha channel data format with 5 bits of blue, 6 bits of green, 5 bits of red and 1 bit of alpha, packed into 16 bits. Values are in the
[0.0, 1.0]
range.B5G6R5UnormPack16 = 4
Blue/green/red channel data format with 5 bits of blue, 6 bits of green and 5 bits of red, packed into 16 bits. Values are in the
[0.0, 1.0]
range.B8G8R8A8Sint = 48
8-bit-per-channel signed integer blue/green/red/alpha channel data format. Values are in the
[-127, 127]
range.B8G8R8A8Snorm = 44
8-bit-per-channel signed floating-point blue/green/red/alpha channel data format with normalized value. Values are in the
[-1.0, 1.0]
range.B8G8R8A8Srgb = 49
8-bit-per-channel unsigned floating-point blue/green/red/alpha channel data format with normalized value and non-linear sRGB encoding. Values are in the
[0.0, 1.0]
range.B8G8R8A8Sscaled = 46
8-bit-per-channel signed floating-point blue/green/red/alpha channel data format with scaled value (value is converted from integer to float). Values are in the
[-127.0, 127.0]
range.B8G8R8A8Uint = 47
8-bit-per-channel unsigned integer blue/green/red/alpha channel data format. Values are in the
[0, 255]
range.B8G8R8A8Unorm = 43
8-bit-per-channel unsigned floating-point blue/green/red/alpha channel data format with normalized value. Values are in the
[0.0, 1.0]
range.B8G8R8A8Uscaled = 45
8-bit-per-channel unsigned floating-point blue/green/red/alpha channel data format with scaled value (value is converted from integer to float). Values are in the
[0.0, 255.0]
range.B8G8R8G8422Unorm = 185
8-bit-per-channel unsigned floating-point blue/green/red channel data format with normalized value. Values are in the
[0.0, 1.0]
range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel).B8G8R8Sint = 34
8-bit-per-channel signed integer blue/green/red channel data format. Values are in the
[-127, 127]
range.B8G8R8Snorm = 30
8-bit-per-channel signed floating-point blue/green/red channel data format with normalized value. Values are in the
[-1.0, 1.0]
range.B8G8R8Srgb = 35
8-bit-per-channel unsigned floating-point blue/green/red data format with normalized value and non-linear sRGB encoding. Values are in the
[0.0, 1.0]
range.B8G8R8Sscaled = 32
8-bit-per-channel signed floating-point blue/green/red channel data format with scaled value (value is converted from integer to float). Values are in the
[-127.0, 127.0]
range.B8G8R8Uint = 33
8-bit-per-channel unsigned integer blue/green/red channel data format. Values are in the
[0, 255]
range.B8G8R8Unorm = 29
8-bit-per-channel unsigned floating-point blue/green/red channel data format with normalized value. Values are in the
[0.0, 1.0]
range.B8G8R8Uscaled = 31
8-bit-per-channel unsigned floating-point blue/green/red channel data format with scaled value (value is converted from integer to float). Values are in the
[0.0, 255.0]
range.Bc1RgbSrgbBlock = 131
VRAM-compressed unsigned red/green/blue channel data format with normalized value and non-linear sRGB encoding. Values are in the
[0.0, 1.0]
range. The format's precision is 5 bits of red channel, 6 bits of green channel and 5 bits of blue channel. Using BC1 texture compression (also known as S3TC DXT1).Bc1RgbUnormBlock = 130
VRAM-compressed unsigned red/green/blue channel data format with normalized value. Values are in the
[0.0, 1.0]
range. The format's precision is 5 bits of red channel, 6 bits of green channel and 5 bits of blue channel. Using BC1 texture compression (also known as S3TC DXT1).Bc1RgbaSrgbBlock = 133
VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value and non-linear sRGB encoding. Values are in the
[0.0, 1.0]
range. The format's precision is 5 bits of red channel, 6 bits of green channel, 5 bits of blue channel and 1 bit of alpha channel. Using BC1 texture compression (also known as S3TC DXT1).Bc1RgbaUnormBlock = 132
VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value. Values are in the
[0.0, 1.0]
range. The format's precision is 5 bits of red channel, 6 bits of green channel, 5 bits of blue channel and 1 bit of alpha channel. Using BC1 texture compression (also known as S3TC DXT1).Bc2SrgbBlock = 135
VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value and non-linear sRGB encoding. Values are in the
[0.0, 1.0]
range. The format's precision is 5 bits of red channel, 6 bits of green channel, 5 bits of blue channel and 4 bits of alpha channel. Using BC2 texture compression (also known as S3TC DXT3).Bc2UnormBlock = 134
VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value. Values are in the
[0.0, 1.0]
range. The format's precision is 5 bits of red channel, 6 bits of green channel, 5 bits of blue channel and 4 bits of alpha channel. Using BC2 texture compression (also known as S3TC DXT3).Bc3SrgbBlock = 137
VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value and non-linear sRGB encoding. Values are in the
[0.0, 1.0]
range. The format's precision is 5 bits of red channel, 6 bits of green channel, 5 bits of blue channel and 8 bits of alpha channel. Using BC3 texture compression (also known as S3TC DXT5).Bc3UnormBlock = 136
VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value. Values are in the
[0.0, 1.0]
range. The format's precision is 5 bits of red channel, 6 bits of green channel, 5 bits of blue channel and 8 bits of alpha channel. Using BC3 texture compression (also known as S3TC DXT5).Bc4SnormBlock = 139
VRAM-compressed signed red channel data format with normalized value. Values are in the
[-1.0, 1.0]
range. The format's precision is 8 bits of red channel. Using BC4 texture compression.Bc4UnormBlock = 138
VRAM-compressed unsigned red channel data format with normalized value. Values are in the
[0.0, 1.0]
range. The format's precision is 8 bits of red channel. Using BC4 texture compression.Bc5SnormBlock = 141
VRAM-compressed signed red/green channel data format with normalized value. Values are in the
[-1.0, 1.0]
range. The format's precision is 8 bits of red channel and 8 bits of green channel. Using BC5 texture compression (also known as S3TC RGTC).Bc5UnormBlock = 140
VRAM-compressed unsigned red/green channel data format with normalized value. Values are in the
[0.0, 1.0]
range. The format's precision is 8 bits of red channel and 8 bits of green channel. Using BC5 texture compression (also known as S3TC RGTC).Bc6HSfloatBlock = 143
VRAM-compressed signed red/green/blue channel data format with the floating-point value stored as-is. The format's precision is between 4 and 7 bits for the red/green/blue channels and between 0 and 8 bits for the alpha channel. Using BC7 texture compression (also known as BPTC HDR).
Bc6HUfloatBlock = 142
VRAM-compressed unsigned red/green/blue channel data format with the floating-point value stored as-is. The format's precision is 8 bits of red channel and 8 bits of green channel. Using BC6H texture compression (also known as BPTC HDR).
Bc7SrgbBlock = 145
VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value and non-linear sRGB encoding. Values are in the
[0.0, 1.0]
range. The format's precision is between 4 and 7 bits for the red/green/blue channels and between 0 and 8 bits for the alpha channel. Also known as BPTC LDR.Bc7UnormBlock = 144
VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value. Values are in the
[0.0, 1.0]
range. The format's precision is between 4 and 7 bits for the red/green/blue channels and between 0 and 8 bits for the alpha channel. Also known as BPTC LDR.D16Unorm = 123
16-bit unsigned floating-point depth data format with normalized value. Values are in the
[0.0, 1.0]
range.D16UnormS8Uint = 127
16-bit unsigned floating-point depth data format with normalized value, plus 8 bits of stencil in unsigned integer format. Values for depth are in the
[0.0, 1.0]
range. Values for stencil are in the[0, 255]
range.D24UnormS8Uint = 128
24-bit unsigned floating-point depth data format with normalized value, plus 8 bits of stencil in unsigned integer format. Values for depth are in the
[0.0, 1.0]
range. Values for stencil are in the[0, 255]
range.D32Sfloat = 125
32-bit signed floating-point depth data format with the value stored as-is.
D32SfloatS8Uint = 129
32-bit signed floating-point depth data format with the value stored as-is, plus 8 bits of stencil in unsigned integer format. Values for stencil are in the
[0, 255]
range.E5B9G9R9UfloatPack32 = 122
Unsigned floating-point exposure/blue/green/red data format with the value stored as-is, packed in 32 bits. The format's precision is 5 bits of exposure, 9 bits of blue channel, 9 bits of green channel and 9 bits of red channel.
EacR11G11SnormBlock = 155
11-bit VRAM-compressed signed red/green channel data format with normalized value. Values are in the
[0.0, 1.0]
range. Using ETC2 texture compression.EacR11G11UnormBlock = 154
11-bit VRAM-compressed unsigned red/green channel data format with normalized value. Values are in the
[0.0, 1.0]
range. Using ETC2 texture compression.EacR11SnormBlock = 153
11-bit VRAM-compressed signed red channel data format with normalized value. Values are in the
[0.0, 1.0]
range. Using ETC2 texture compression.EacR11UnormBlock = 152
11-bit VRAM-compressed unsigned red channel data format with normalized value. Values are in the
[0.0, 1.0]
range. Using ETC2 texture compression.Etc2R8G8B8A1SrgbBlock = 149
VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value and non-linear sRGB encoding. Values are in the
[0.0, 1.0]
range. Red/green/blue use 8 bit of precision each, with alpha using 1 bit of precision. Using ETC2 texture compression.Etc2R8G8B8A1UnormBlock = 148
VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value. Values are in the
[0.0, 1.0]
range. Red/green/blue use 8 bit of precision each, with alpha using 1 bit of precision. Using ETC2 texture compression.Etc2R8G8B8A8SrgbBlock = 151
VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value and non-linear sRGB encoding. Values are in the
[0.0, 1.0]
range. Red/green/blue use 8 bits of precision each, with alpha using 8 bits of precision. Using ETC2 texture compression.Etc2R8G8B8A8UnormBlock = 150
VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value. Values are in the
[0.0, 1.0]
range. Red/green/blue use 8 bits of precision each, with alpha using 8 bits of precision. Using ETC2 texture compression.Etc2R8G8B8SrgbBlock = 147
VRAM-compressed unsigned red/green/blue channel data format with normalized value and non-linear sRGB encoding. Values are in the
[0.0, 1.0]
range. Using ETC2 texture compression.Etc2R8G8B8UnormBlock = 146
VRAM-compressed unsigned red/green/blue channel data format with normalized value. Values are in the
[0.0, 1.0]
range. Using ETC2 texture compression.G10X6B10X6G10X6R10X6422Unorm4Pack16 = 194
10-bit-per-channel unsigned floating-point green/blue/green/red channel data with normalized value, plus 6 unused bits after each channel, packed in 4×16 bits. Values are in the
[0.0, 1.0]
range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel). The green channel is listed twice, but contains different values to allow it to be represented at full resolution.G10X6B10X6R10X62Plane420Unorm3Pack16 = 197
10-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 2 separate planes (green + blue/red). Values are in the
[0.0, 1.0]
range. Blue and red channel data is stored at halved horizontal and vertical resolution (i.e. 2×2 adjacent pixels will share the same value for the blue/red channel).G10X6B10X6R10X62Plane422Unorm3Pack16 = 199
10-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 3 separate planes (green + blue/red). Values are in the
[0.0, 1.0]
range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel).G10X6B10X6R10X63Plane420Unorm3Pack16 = 196
10-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 2 separate planes (green + blue + red). Values are in the
[0.0, 1.0]
range. Blue and red channel data is stored at halved horizontal and vertical resolution (i.e. 2×2 adjacent pixels will share the same value for the blue/red channel).G10X6B10X6R10X63Plane422Unorm3Pack16 = 198
10-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 3 separate planes (green + blue + red). Values are in the
[0.0, 1.0]
range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel).G10X6B10X6R10X63Plane444Unorm3Pack16 = 200
10-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 3 separate planes (green + blue + red). Values are in the
[0.0, 1.0]
range.G12X4B12X4G12X4R12X4422Unorm4Pack16 = 204
12-bit-per-channel unsigned floating-point green/blue/green/red channel data with normalized value, plus 6 unused bits after each channel, packed in 4×16 bits. Values are in the
[0.0, 1.0]
range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel). The green channel is listed twice, but contains different values to allow it to be represented at full resolution.G12X4B12X4R12X42Plane420Unorm3Pack16 = 207
12-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 2 separate planes (green + blue/red). Values are in the
[0.0, 1.0]
range. Blue and red channel data is stored at halved horizontal and vertical resolution (i.e. 2×2 adjacent pixels will share the same value for the blue/red channel).G12X4B12X4R12X42Plane422Unorm3Pack16 = 209
12-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 3 separate planes (green + blue/red). Values are in the
[0.0, 1.0]
range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel).G12X4B12X4R12X43Plane420Unorm3Pack16 = 206
12-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 2 separate planes (green + blue + red). Values are in the
[0.0, 1.0]
range. Blue and red channel data is stored at halved horizontal and vertical resolution (i.e. 2×2 adjacent pixels will share the same value for the blue/red channel).G12X4B12X4R12X43Plane422Unorm3Pack16 = 208
12-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 3 separate planes (green + blue + red). Values are in the
[0.0, 1.0]
range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel).G12X4B12X4R12X43Plane444Unorm3Pack16 = 210
12-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 3 separate planes (green + blue + red). Values are in the
[0.0, 1.0]
range.G16B16G16R16422Unorm = 211
16-bit-per-channel unsigned floating-point green/blue/red channel data format with normalized value. Values are in the
[0.0, 1.0]
range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel).G16B16R162Plane420Unorm = 214
16-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Stored across 2 separate planes (green + blue/red). Values are in the
[0.0, 1.0]
range. Blue and red channel data is stored at halved horizontal and vertical resolution (i.e. 2×2 adjacent pixels will share the same value for the blue/red channel).G16B16R162Plane422Unorm = 216
16-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Stored across 3 separate planes (green + blue/red). Values are in the
[0.0, 1.0]
range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel).G16B16R163Plane420Unorm = 213
16-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Stored across 2 separate planes (green + blue + red). Values are in the
[0.0, 1.0]
range. Blue and red channel data is stored at halved horizontal and vertical resolution (i.e. 2×2 adjacent pixels will share the same value for the blue/red channel).G16B16R163Plane422Unorm = 215
16-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Stored across 3 separate planes (green + blue + red). Values are in the
[0.0, 1.0]
range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel).G16B16R163Plane444Unorm = 217
16-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Stored across 3 separate planes (green + blue + red). Values are in the
[0.0, 1.0]
range.G8B8G8R8422Unorm = 184
8-bit-per-channel unsigned floating-point green/blue/red channel data format with normalized value. Values are in the
[0.0, 1.0]
range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel).G8B8R82Plane420Unorm = 187
8-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, stored across 2 separate planes (green + blue/red). Values are in the
[0.0, 1.0]
range. Blue and red channel data is stored at halved horizontal and vertical resolution (i.e. 2×2 adjacent pixels will share the same value for the blue/red channel).G8B8R82Plane422Unorm = 189
8-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, stored across 2 separate planes (green + blue/red). Values are in the
[0.0, 1.0]
range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel).G8B8R83Plane420Unorm = 186
8-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, stored across 3 separate planes (green + blue + red). Values are in the
[0.0, 1.0]
range. Blue and red channel data is stored at halved horizontal and vertical resolution (i.e. 2×2 adjacent pixels will share the same value for the blue/red channel).G8B8R83Plane422Unorm = 188
8-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, stored across 2 separate planes (green + blue + red). Values are in the
[0.0, 1.0]
range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel).G8B8R83Plane444Unorm = 190
8-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, stored across 3 separate planes. Values are in the
[0.0, 1.0]
range.Max = 218
Represents the size of the RenderingDevice.DataFormat enum.
R10X6G10X6B10X6A10X6Unorm4Pack16 = 193
10-bit-per-channel unsigned floating-point red/green/blue/alpha channel data with normalized value, plus 6 unused bits after each channel, packed in 4×16 bits. Values are in the
[0.0, 1.0]
range.R10X6G10X6Unorm2Pack16 = 192
10-bit-per-channel unsigned floating-point red/green channel data with normalized value, plus 6 unused bits after each channel, packed in 2×16 bits. Values are in the
[0.0, 1.0]
range.R10X6UnormPack16 = 191
10-bit-per-channel unsigned floating-point red channel data with normalized value, plus 6 unused bits, packed in 16 bits. Values are in the
[0.0, 1.0]
range.R12X4G12X4B12X4A12X4Unorm4Pack16 = 203
12-bit-per-channel unsigned floating-point red/green/blue/alpha channel data with normalized value, plus 6 unused bits after each channel, packed in 4×16 bits. Values are in the
[0.0, 1.0]
range.R12X4G12X4Unorm2Pack16 = 202
12-bit-per-channel unsigned floating-point red/green channel data with normalized value, plus 6 unused bits after each channel, packed in 2×16 bits. Values are in the
[0.0, 1.0]
range.R12X4UnormPack16 = 201
12-bit-per-channel unsigned floating-point red channel data with normalized value, plus 6 unused bits, packed in 16 bits. Values are in the
[0.0, 1.0]
range.R16G16B16A16Sfloat = 96
16-bit-per-channel signed floating-point red/green/blue/alpha channel data format with the value stored as-is.
R16G16B16A16Sint = 95
16-bit-per-channel signed integer red/green/blue/alpha channel data format. Values are in the
[-32767, 32767]
range.R16G16B16A16Snorm = 91
16-bit-per-channel signed floating-point red/green/blue/alpha channel data format with normalized value. Values are in the
[-1.0, 1.0]
range.R16G16B16A16Sscaled = 93
16-bit-per-channel signed floating-point red/green/blue/alpha channel data format with scaled value (value is converted from integer to float). Values are in the
[-32767.0, 32767.0]
range.R16G16B16A16Uint = 94
16-bit-per-channel unsigned integer red/green/blue/alpha channel data format. Values are in the
[0.0, 65535]
range.R16G16B16A16Unorm = 90
16-bit-per-channel unsigned floating-point red/green/blue/alpha channel data format with normalized value. Values are in the
[0.0, 1.0]
range.R16G16B16A16Uscaled = 92
16-bit-per-channel unsigned floating-point red/green/blue/alpha channel data format with scaled value (value is converted from integer to float). Values are in the
[0.0, 65535.0]
range.R16G16B16Sfloat = 89
16-bit-per-channel signed floating-point red/green/blue channel data format with the value stored as-is.
R16G16B16Sint = 88
16-bit-per-channel signed integer red/green/blue channel data format. Values are in the
[-32767, 32767]
range.R16G16B16Snorm = 84
16-bit-per-channel signed floating-point red/green/blue channel data format with normalized value. Values are in the
[-1.0, 1.0]
range.R16G16B16Sscaled = 86
16-bit-per-channel signed floating-point red/green/blue channel data format with scaled value (value is converted from integer to float). Values are in the
[-32767.0, 32767.0]
range.R16G16B16Uint = 87
16-bit-per-channel unsigned integer red/green/blue channel data format. Values are in the
[0.0, 65535]
range.R16G16B16Unorm = 83
16-bit-per-channel unsigned floating-point red/green/blue channel data format with normalized value. Values are in the
[0.0, 1.0]
range.R16G16B16Uscaled = 85
16-bit-per-channel unsigned floating-point red/green/blue channel data format with scaled value (value is converted from integer to float). Values are in the
[0.0, 65535.0]
range.R16G16Sfloat = 82
16-bit-per-channel signed floating-point red/green channel data format with the value stored as-is.
R16G16Sint = 81
16-bit-per-channel signed integer red/green channel data format. Values are in the
[-32767, 32767]
range.R16G16Snorm = 77
16-bit-per-channel signed floating-point red/green channel data format with normalized value. Values are in the
[-1.0, 1.0]
range.R16G16Sscaled = 79
16-bit-per-channel signed floating-point red/green channel data format with scaled value (value is converted from integer to float). Values are in the
[-32767.0, 32767.0]
range.R16G16Uint = 80
16-bit-per-channel unsigned integer red/green channel data format. Values are in the
[0.0, 65535]
range.R16G16Unorm = 76
16-bit-per-channel unsigned floating-point red/green channel data format with normalized value. Values are in the
[0.0, 1.0]
range.R16G16Uscaled = 78
16-bit-per-channel unsigned floating-point red/green channel data format with scaled value (value is converted from integer to float). Values are in the
[0.0, 65535.0]
range.R16Sfloat = 75
16-bit-per-channel signed floating-point red channel data format with the value stored as-is.
R16Sint = 74
16-bit-per-channel signed integer red channel data format. Values are in the
[-32767, 32767]
range.R16Snorm = 70
16-bit-per-channel signed floating-point red channel data format with normalized value. Values are in the
[-1.0, 1.0]
range.R16Sscaled = 72
16-bit-per-channel signed floating-point red channel data format with scaled value (value is converted from integer to float). Values are in the
[-32767.0, 32767.0]
range.R16Uint = 73
16-bit-per-channel unsigned integer red channel data format. Values are in the
[0.0, 65535]
range.R16Unorm = 69
16-bit-per-channel unsigned floating-point red channel data format with normalized value. Values are in the
[0.0, 1.0]
range.R16Uscaled = 71
16-bit-per-channel unsigned floating-point red channel data format with scaled value (value is converted from integer to float). Values are in the
[0.0, 65535.0]
range.R32G32B32A32Sfloat = 108
32-bit-per-channel signed floating-point red/green/blue/alpha channel data format with the value stored as-is.
R32G32B32A32Sint = 107
32-bit-per-channel signed integer red/green/blue/alpha channel data format. Values are in the
[2^31 + 1, 2^31 - 1]
range.R32G32B32A32Uint = 106
32-bit-per-channel unsigned integer red/green/blue/alpha channel data format. Values are in the
[0, 2^32 - 1]
range.R32G32B32Sfloat = 105
32-bit-per-channel signed floating-point red/green/blue channel data format with the value stored as-is.
R32G32B32Sint = 104
32-bit-per-channel signed integer red/green/blue channel data format. Values are in the
[2^31 + 1, 2^31 - 1]
range.R32G32B32Uint = 103
32-bit-per-channel unsigned integer red/green/blue channel data format. Values are in the
[0, 2^32 - 1]
range.R32G32Sfloat = 102
32-bit-per-channel signed floating-point red/green channel data format with the value stored as-is.
R32G32Sint = 101
32-bit-per-channel signed integer red/green channel data format. Values are in the
[2^31 + 1, 2^31 - 1]
range.R32G32Uint = 100
32-bit-per-channel unsigned integer red/green channel data format. Values are in the
[0, 2^32 - 1]
range.R32Sfloat = 99
32-bit-per-channel signed floating-point red channel data format with the value stored as-is.
R32Sint = 98
32-bit-per-channel signed integer red channel data format. Values are in the
[2^31 + 1, 2^31 - 1]
range.R32Uint = 97
32-bit-per-channel unsigned integer red channel data format. Values are in the
[0, 2^32 - 1]
range.R4G4B4A4UnormPack16 = 1
4-bit-per-channel red/green/blue/alpha channel data format, packed into 16 bits. Values are in the
[0.0, 1.0]
range.R4G4UnormPack8 = 0
4-bit-per-channel red/green channel data format, packed into 8 bits. Values are in the
[0.0, 1.0]
range.Note: More information on all data formats can be found on the Identification of formats section of the Vulkan specification, as well as the VkFormat enum.
R5G5B5A1UnormPack16 = 5
Red/green/blue/alpha channel data format with 5 bits of red, 6 bits of green, 5 bits of blue and 1 bit of alpha, packed into 16 bits. Values are in the
[0.0, 1.0]
range.R5G6B5UnormPack16 = 3
Red/green/blue channel data format with 5 bits of red, 6 bits of green and 5 bits of blue, packed into 16 bits. Values are in the
[0.0, 1.0]
range.R64G64B64A64Sfloat = 120
64-bit-per-channel signed floating-point red/green/blue/alpha channel data format with the value stored as-is.
R64G64B64A64Sint = 119
64-bit-per-channel signed integer red/green/blue/alpha channel data format. Values are in the
[2^63 + 1, 2^63 - 1]
range.R64G64B64A64Uint = 118
64-bit-per-channel unsigned integer red/green/blue/alpha channel data format. Values are in the
[0, 2^64 - 1]
range.R64G64B64Sfloat = 117
64-bit-per-channel signed floating-point red/green/blue channel data format with the value stored as-is.
R64G64B64Sint = 116
64-bit-per-channel signed integer red/green/blue channel data format. Values are in the
[2^63 + 1, 2^63 - 1]
range.R64G64B64Uint = 115
64-bit-per-channel unsigned integer red/green/blue channel data format. Values are in the
[0, 2^64 - 1]
range.R64G64Sfloat = 114
64-bit-per-channel signed floating-point red/green channel data format with the value stored as-is.
R64G64Sint = 113
64-bit-per-channel signed integer red/green channel data format. Values are in the
[2^63 + 1, 2^63 - 1]
range.R64G64Uint = 112
64-bit-per-channel unsigned integer red/green channel data format. Values are in the
[0, 2^64 - 1]
range.R64Sfloat = 111
64-bit-per-channel signed floating-point red channel data format with the value stored as-is.
R64Sint = 110
64-bit-per-channel signed integer red channel data format. Values are in the
[2^63 + 1, 2^63 - 1]
range.R64Uint = 109
64-bit-per-channel unsigned integer red channel data format. Values are in the
[0, 2^64 - 1]
range.R8G8B8A8Sint = 41
8-bit-per-channel signed integer red/green/blue/alpha channel data format. Values are in the
[-127, 127]
range.R8G8B8A8Snorm = 37
8-bit-per-channel signed floating-point red/green/blue/alpha channel data format with normalized value. Values are in the
[-1.0, 1.0]
range.R8G8B8A8Srgb = 42
8-bit-per-channel unsigned floating-point red/green/blue/alpha channel data format with normalized value and non-linear sRGB encoding. Values are in the
[0.0, 1.0]
range.R8G8B8A8Sscaled = 39
8-bit-per-channel signed floating-point red/green/blue/alpha channel data format with scaled value (value is converted from integer to float). Values are in the
[-127.0, 127.0]
range.R8G8B8A8Uint = 40
8-bit-per-channel unsigned integer red/green/blue/alpha channel data format. Values are in the
[0, 255]
range.R8G8B8A8Unorm = 36
8-bit-per-channel unsigned floating-point red/green/blue/alpha channel data format with normalized value. Values are in the
[0.0, 1.0]
range.R8G8B8A8Uscaled = 38
8-bit-per-channel unsigned floating-point red/green/blue/alpha channel data format with scaled value (value is converted from integer to float). Values are in the
[0.0, 255.0]
range.R8G8B8Sint = 27
8-bit-per-channel signed integer red/green/blue channel data format. Values are in the
[-127, 127]
range.R8G8B8Snorm = 23
8-bit-per-channel signed floating-point red/green/blue channel data format with normalized value. Values are in the
[-1.0, 1.0]
range.R8G8B8Srgb = 28
8-bit-per-channel unsigned floating-point red/green/blue/blue channel data format with normalized value and non-linear sRGB encoding. Values are in the
[0.0, 1.0]
range.R8G8B8Sscaled = 25
8-bit-per-channel signed floating-point red/green/blue channel data format with scaled value (value is converted from integer to float). Values are in the
[-127.0, 127.0]
range.R8G8B8Uint = 26
8-bit-per-channel unsigned integer red/green/blue channel data format. Values are in the
[0, 255]
range.R8G8B8Unorm = 22
8-bit-per-channel unsigned floating-point red/green/blue channel data format with normalized value. Values are in the
[0.0, 1.0]
range.R8G8B8Uscaled = 24
8-bit-per-channel unsigned floating-point red/green/blue channel data format with scaled value (value is converted from integer to float). Values are in the
[0.0, 255.0]
range.R8G8Sint = 20
8-bit-per-channel signed integer red/green channel data format. Values are in the
[-127, 127]
range.R8G8Snorm = 16
8-bit-per-channel signed floating-point red/green channel data format with normalized value. Values are in the
[-1.0, 1.0]
range.R8G8Srgb = 21
8-bit-per-channel unsigned floating-point red/green channel data format with normalized value and non-linear sRGB encoding. Values are in the
[0.0, 1.0]
range.R8G8Sscaled = 18
8-bit-per-channel signed floating-point red/green channel data format with scaled value (value is converted from integer to float). Values are in the
[-127.0, 127.0]
range.R8G8Uint = 19
8-bit-per-channel unsigned integer red/green channel data format. Values are in the
[0, 255]
range.R8G8Unorm = 15
8-bit-per-channel unsigned floating-point red/green channel data format with normalized value. Values are in the
[0.0, 1.0]
range.R8G8Uscaled = 17
8-bit-per-channel unsigned floating-point red/green channel data format with scaled value (value is converted from integer to float). Values are in the
[0.0, 255.0]
range.R8Sint = 13
8-bit-per-channel signed integer red channel data format. Values are in the
[-127, 127]
range.R8Snorm = 9
8-bit-per-channel signed floating-point red channel data format with normalized value. Values are in the
[-1.0, 1.0]
range.R8Srgb = 14
8-bit-per-channel unsigned floating-point red channel data format with normalized value and non-linear sRGB encoding. Values are in the
[0.0, 1.0]
range.R8Sscaled = 11
8-bit-per-channel signed floating-point red channel data format with scaled value (value is converted from integer to float). Values are in the
[-127.0, 127.0]
range.R8Uint = 12
8-bit-per-channel unsigned integer red channel data format. Values are in the
[0, 255]
range.R8Unorm = 8
8-bit-per-channel unsigned floating-point red channel data format with normalized value. Values are in the
[0.0, 1.0]
range.R8Uscaled = 10
8-bit-per-channel unsigned floating-point red channel data format with scaled value (value is converted from integer to float). Values are in the
[0.0, 255.0]
range.S8Uint = 126
8-bit unsigned integer stencil data format.
X8D24UnormPack32 = 124
24-bit unsigned floating-point depth data format with normalized value, plus 8 unused bits, packed in 32 bits. Values for depth are in the
[0.0, 1.0]
range.