Enum PixelFormat
- Namespace
- NeoVeldrid
- Assembly
- NeoVeldrid.dll
The format of data stored in a Texture. Each name is a compound identifier, where each component denotes a name and a number of bits used to store that component. The final component identifies the storage type of each component. "Float" identifies a signed, floating-point type, UNorm identifies an unsigned integer type which is normalized, meaning it occupies the full space of the integer type. The SRgb suffix for normalized integer formats indicates that the RGB components are stored in sRGB format.
public enum PixelFormat : byte
Fields
B8_G8_R8_A8_UNorm = 1BGRA component order. Each component is an 8-bit unsigned normalized integer.
B8_G8_R8_A8_UNorm_SRgb = 55BGRA component order. Each component is an 8-bit unsigned normalized integer. This is an sRGB format.
BC1_Rgb_UNorm = 11BC1 block compressed format with no alpha.
BC1_Rgb_UNorm_SRgb = 56BC1 block compressed format with no alpha. This is an sRGB format.
BC1_Rgba_UNorm = 12BC1 block compressed format with a single-bit alpha channel.
BC1_Rgba_UNorm_SRgb = 57BC1 block compressed format with a single-bit alpha channel. This is an sRGB format.
BC2_UNorm = 13BC2 block compressed format.
BC2_UNorm_SRgb = 58BC2 block compressed format. This is an sRGB format.
BC3_UNorm = 6BC3 block compressed format.
BC3_UNorm_SRgb = 59BC3 block compressed format. This is an sRGB format.
BC4_SNorm = 50BC4 block compressed format, signed normalized values.
BC4_UNorm = 49BC4 block compressed format, unsigned normalized values.
BC5_SNorm = 52BC5 block compressed format, signed normalized values.
BC5_UNorm = 51BC5 block compressed format, unsigned normalized values.
BC7_UNorm = 53BC7 block compressed format.
BC7_UNorm_SRgb = 60BC7 block compressed format. This is an sRGB format.
D24_UNorm_S8_UInt = 7A depth-stencil format where the depth is stored in a 24-bit unsigned normalized integer, and the stencil is stored in an 8-bit unsigned integer.
D32_Float_S8_UInt = 8A depth-stencil format where the depth is stored in a 32-bit signed floating-point value, and the stencil is stored in an 8-bit unsigned integer.
ETC2_R8_G8_B8_A1_UNorm = 47A 64-bit, 4x4 block-compressed format storing unsigned normalized RGB data, as well as 1 bit of alpha data.
ETC2_R8_G8_B8_A8_UNorm = 48A 128-bit, 4x4 block-compressed format storing 64 bits of unsigned normalized RGB data, as well as 64 bits of alpha data.
ETC2_R8_G8_B8_UNorm = 46A 64-bit, 4x4 block-compressed format storing unsigned normalized RGB data.
R10_G10_B10_A2_UInt = 15A 32-bit packed format. The 10-bit R component occupies bits 0..9, the 10-bit G component occupies bits 10..19, the 10-bit A component occupies 20..29, and the 2-bit A component occupies bits 30..31. Each value is an unsigned integer.
R10_G10_B10_A2_UNorm = 14A 32-bit packed format. The 10-bit R component occupies bits 0..9, the 10-bit G component occupies bits 10..19, the 10-bit A component occupies 20..29, and the 2-bit A component occupies bits 30..31. Each value is an unsigned, normalized integer.
R11_G11_B10_Float = 16A 32-bit packed format. The 11-bit R componnent occupies bits 0..10, the 11-bit G component occupies bits 11..21, and the 10-bit B component occupies bits 22..31. Each value is an unsigned floating point value.
R16_Float = 23Single-channel, 16-bit signed floating-point value.
R16_G16_B16_A16_Float = 44RGBA component order. Each component is a 16-bit floating-point value.
R16_G16_B16_A16_SInt = 43RGBA component order. Each component is a 16-bit signed integer.
R16_G16_B16_A16_SNorm = 41RGBA component order. Each component is a 16-bit signed normalized integer.
R16_G16_B16_A16_UInt = 42RGBA component order. Each component is a 16-bit unsigned integer.
R16_G16_B16_A16_UNorm = 40RGBA component order. Each component is a 16-bit unsigned normalized integer.
R16_G16_Float = 33RG component order. Each component is a 16-bit signed floating-point value.
R16_G16_SInt = 32RG component order. Each component is a 16-bit signed integer.
R16_G16_SNorm = 30RG component order. Each component is a 16-bit signed normalized integer.
R16_G16_UInt = 31RG component order. Each component is a 16-bit unsigned integer.
R16_G16_UNorm = 29RG component order. Each component is a 16-bit unsigned normalized integer.
R16_SInt = 22Single-channel, 16-bit signed integer.
R16_SNorm = 20Single-channel, 16-bit signed normalized integer.
R16_UInt = 21Single-channel, 16-bit unsigned integer.
R16_UNorm = 3Single-channel, 16-bit unsigned normalized integer. Can be used as a depth format.
R32_Float = 5Single-channel, 32-bit signed floating-point value. Can be used as a depth format.
R32_G32_B32_A32_Float = 4RGBA component order. Each component is a 32-bit signed floating-point value.
R32_G32_B32_A32_SInt = 45RGBA component order. Each component is a 32-bit signed integer.
R32_G32_B32_A32_UInt = 9RGBA component order. Each component is a 32-bit unsigned integer.
R32_G32_Float = 36RG component order. Each component is a 32-bit signed floating-point value.
R32_G32_SInt = 35RG component order. Each component is a 32-bit signed integer.
R32_G32_UInt = 34RG component order. Each component is a 32-bit unsigned integer.
R32_SInt = 25Single-channel, 32-bit signed integer
R32_UInt = 24Single-channel, 32-bit unsigned integer
R8_G8_B8_A8_SInt = 39RGBA component order. Each component is an 8-bit signed integer.
R8_G8_B8_A8_SNorm = 37RGBA component order. Each component is an 8-bit signed normalized integer.
R8_G8_B8_A8_UInt = 38RGBA component order. Each component is an 8-bit unsigned integer.
R8_G8_B8_A8_UNorm = 0RGBA component order. Each component is an 8-bit unsigned normalized integer.
R8_G8_B8_A8_UNorm_SRgb = 54RGBA component order. Each component is an 8-bit unsigned normalized integer. This is an sRGB format.
R8_G8_SInt = 28RG component order. Each component is an 8-bit signed integer.
R8_G8_SNorm = 10RG component order. Each component is an 8-bit signed normalized integer.
R8_G8_UInt = 27RG component order. Each component is an 8-bit unsigned integer.
R8_G8_UNorm = 26RG component order. Each component is an 8-bit unsigned normalized integer.
R8_SInt = 19Single-channel, 8-bit signed integer.
R8_SNorm = 17Single-channel, 8-bit signed normalized integer.
R8_UInt = 18Single-channel, 8-bit unsigned integer.
R8_UNorm = 2Single-channel, 8-bit unsigned normalized integer.