Class PixelFormat
Enumeration with all pixel formats used by the graphics pipeline.
Inheritance
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class PixelFormat : Enum
Remarks
Fields
A8_UNorm
A single-component, 8-bit unsigned-normalized-integer format for alpha only.
Declaration
public const PixelFormat A8_UNorm
Field Value
PixelFormat
|
ASTC_10x10_UNorm
A four-component ASTC (10x10 pixel block in 128 bits) block-compression format that supports RGBA channels.
Declaration
public const PixelFormat ASTC_10x10_UNorm
Field Value
PixelFormat
|
ASTC_10x10_UNorm_sRGB
A four-component ASTC (10x10 pixel block in 128 bits) block-compression format that supports RGBA channels. Data in sRGB color space.
Declaration
public const PixelFormat ASTC_10x10_UNorm_sRGB
Field Value
PixelFormat
|
ASTC_4x4_UNorm
A four-component ASTC (4x4 pixel block in 128 bits) block-compression format that supports RGBA channels.
Declaration
public const PixelFormat ASTC_4x4_UNorm
Field Value
PixelFormat
|
ASTC_4x4_UNorm_sRGB
A four-component ASTC (4x4 pixel block in 128 bits) block-compression format that supports RGBA channels. Data in sRGB color space.
Declaration
public const PixelFormat ASTC_4x4_UNorm_sRGB
Field Value
PixelFormat
|
ASTC_6x6_UNorm
A four-component ASTC (6x6 pixel block in 128 bits) block-compression format that supports RGBA channels.
Declaration
public const PixelFormat ASTC_6x6_UNorm
Field Value
PixelFormat
|
ASTC_6x6_UNorm_sRGB
A four-component ASTC (6x6 pixel block in 128 bits) block-compression format that supports RGBA channels. Data in sRGB color space.
Declaration
public const PixelFormat ASTC_6x6_UNorm_sRGB
Field Value
PixelFormat
|
ASTC_8x8_UNorm
A four-component ASTC (8x8 pixel block in 128 bits) block-compression format that supports RGBA channels.
Declaration
public const PixelFormat ASTC_8x8_UNorm
Field Value
PixelFormat
|
ASTC_8x8_UNorm_sRGB
A four-component ASTC (8x8 pixel block in 128 bits) block-compression format that supports RGBA channels. Data in sRGB color space.
Declaration
public const PixelFormat ASTC_8x8_UNorm_sRGB
Field Value
PixelFormat
|
B5G5R5A1_UNorm
A four-component, 16-bit unsigned-normalized-integer format that supports 5 bits for each color channel and 1-bit alpha.
Declaration
public const PixelFormat B5G5R5A1_UNorm
Field Value
PixelFormat
|
B5G6R5_UNorm
A three-component, 16-bit unsigned-normalized-integer format that supports 5 bits for blue, 6 bits for green, and 5 bits for red.
Declaration
public const PixelFormat B5G6R5_UNorm
Field Value
PixelFormat
|
B8G8R8A8_Typeless
A four-component, 32-bit typeless format that supports 8 bits for each channel including alpha.
Declaration
public const PixelFormat B8G8R8A8_Typeless
Field Value
PixelFormat
|
B8G8R8A8_UNorm
A four-component, 32-bit unsigned-normalized-integer format that supports 8 bits for each color channel and 8-bit alpha.
Declaration
public const PixelFormat B8G8R8A8_UNorm
Field Value
PixelFormat
|
B8G8R8A8_UNorm_sRGB
A four-component, 32-bit unsigned-normalized standard RGB format that supports 8 bits for each channel including alpha.
Declaration
public const PixelFormat B8G8R8A8_UNorm_sRGB
Field Value
PixelFormat
|
B8G8R8X8_Typeless
A four-component, 32-bit typeless format that supports 8 bits for each color channel, and 8 bits are unused.
Declaration
public const PixelFormat B8G8R8X8_Typeless
Field Value
PixelFormat
|
B8G8R8X8_UNorm
A four-component, 32-bit unsigned-normalized-integer format that supports 8 bits for each color channel and 8 bits unused.
Declaration
public const PixelFormat B8G8R8X8_UNorm
Field Value
PixelFormat
|
B8G8R8X8_UNorm_sRGB
A four-component, 32-bit unsigned-normalized standard RGB format that supports 8 bits for each color channel, and 8 bits are unused.
Declaration
public const PixelFormat B8G8R8X8_UNorm_sRGB
Field Value
PixelFormat
|
BC1_Typeless
Four-component typeless block-compression format
Declaration
public const PixelFormat BC1_Typeless
Field Value
PixelFormat
|
BC1_UNorm
Four-component block-compression format.
Declaration
public const PixelFormat BC1_UNorm
Field Value
PixelFormat
|
BC1_UNorm_sRGB
Four-component block-compression format for sRGB data.
Declaration
public const PixelFormat BC1_UNorm_sRGB
Field Value
PixelFormat
|
BC2_Typeless
Four-component typeless block-compression format.
Declaration
public const PixelFormat BC2_Typeless
Field Value
PixelFormat
|
BC2_UNorm
Four-component block-compression format.
Declaration
public const PixelFormat BC2_UNorm
Field Value
PixelFormat
|
BC2_UNorm_sRGB
Four-component block-compression format for sRGB data.
Declaration
public const PixelFormat BC2_UNorm_sRGB
Field Value
PixelFormat
|
BC3_Typeless
Four-component typeless block-compression format.
Declaration
public const PixelFormat BC3_Typeless
Field Value
PixelFormat
|
BC3_UNorm
Four-component block-compression format.
Declaration
public const PixelFormat BC3_UNorm
Field Value
PixelFormat
|
BC3_UNorm_sRGB
Four-component block-compression format for sRGB data.
Declaration
public const PixelFormat BC3_UNorm_sRGB
Field Value
PixelFormat
|
BC4_SNorm
One-component block-compression format.
Declaration
public const PixelFormat BC4_SNorm
Field Value
PixelFormat
|
BC4_Typeless
One-component typeless block-compression format.
Declaration
public const PixelFormat BC4_Typeless
Field Value
PixelFormat
|
BC4_UNorm
One-component block-compression format.
Declaration
public const PixelFormat BC4_UNorm
Field Value
PixelFormat
|
BC5_SNorm
Two-component block-compression format.
Declaration
public const PixelFormat BC5_SNorm
Field Value
PixelFormat
|
BC5_Typeless
Two-component typeless block-compression format.
Declaration
public const PixelFormat BC5_Typeless
Field Value
PixelFormat
|
BC5_UNorm
Two-component block-compression format.
Declaration
public const PixelFormat BC5_UNorm
Field Value
PixelFormat
|
BC6H_Sf16
A three-component, HDR signed floating point format for color channels format that supports RGB channels. There is no support for an alpha channel.
Declaration
public const PixelFormat BC6H_Sf16
Field Value
PixelFormat
|
BC6H_Typeless
A three-component, HDR floating point format for color channels format that supports RGB channels. There is no support for an alpha channel.
Declaration
public const PixelFormat BC6H_Typeless
Field Value
PixelFormat
|
BC6H_Uf16
A three-component, HDR unsigned floating point format for color channels format that supports RGB channels. There is no support for an alpha channel.
Declaration
public const PixelFormat BC6H_Uf16
Field Value
PixelFormat
|
BC7_Typeless
A four-component, HDR floating point format for color channels format that supports RGBA channels.
Declaration
public const PixelFormat BC7_Typeless
Field Value
PixelFormat
|
BC7_UNorm
A four-component, HDR floating point format for color channels format that supports RGBA channels.
Declaration
public const PixelFormat BC7_UNorm
Field Value
PixelFormat
|
BC7_UNorm_sRGB
A four-component, HDR floating point format for color channels format that supports RGBA channels.
Declaration
public const PixelFormat BC7_UNorm_sRGB
Field Value
PixelFormat
|
D16_UNorm
A single-component, 16-bit unsigned-normalized-integer format that supports 16 bits for depth.
Declaration
public const PixelFormat D16_UNorm
Field Value
PixelFormat
|
D24_UNorm_S8_UInt
A 32-bit z-buffer format that supports 24 bits for depth and 8 bits for stencil.
Declaration
public const PixelFormat D24_UNorm_S8_UInt
Field Value
PixelFormat
|
D32_Float
A single-component, 32-bit floating-point format that supports 32 bits for depth.
Declaration
public const PixelFormat D32_Float
Field Value
PixelFormat
|
D32_Float_S8X24_UInt
A 32-bit floating-point component, and two unsigned-integer components (with an additional 32 bits). This format supports 32-bit depth, 8-bit stencil, and 24 bits are unused.
Declaration
public const PixelFormat D32_Float_S8X24_UInt
Field Value
PixelFormat
|
G8R8_G8B8_UNorm
A four-component, 32-bit unsigned-normalized-integer format. This packed RGB format is analogous to the YUY2 format. Each 32-bit block describes a pair of pixels: (R8, G8, B8) and (R8, G8, B8) where the R8/B8 values are repeated, and the G8 values are unique to each pixel. Width must be even.
Declaration
public const PixelFormat G8R8_G8B8_UNorm
Field Value
PixelFormat
|
MAX
The maximum format value (for internal use only).
Declaration
public const PixelFormat MAX
Field Value
PixelFormat
|
NV12
Packed YUV 4:2:0 video texture format. Texture uses separate views to access the luma (Y) plane separately from the chroma (UV) planes. For luminance data view, the mapping to the view channel is Y->R8. For chrominance data view, the mapping to the view channel is U->R8 and V->G8.
Declaration
public const PixelFormat NV12
Field Value
PixelFormat
|
R1_UNorm
A single-component, 1-bit unsigned-normalized integer format that supports 1 bit for the red channel.
Declaration
public const PixelFormat R1_UNorm
Field Value
PixelFormat
|
R10G10B10_Xr_Bias_A2_UNorm
A four-component, 32-bit 2.8-biased fixed-point format that supports 10 bits for each color channel and 2-bit alpha.
Declaration
public const PixelFormat R10G10B10_Xr_Bias_A2_UNorm
Field Value
PixelFormat
|
R10G10B10A2_Typeless
A four-component, 32-bit typeless format that supports 10 bits for each color and 2 bits for alpha.
Declaration
public const PixelFormat R10G10B10A2_Typeless
Field Value
PixelFormat
|
R10G10B10A2_UInt
A four-component, 32-bit unsigned-integer format that supports 10 bits for each color and 2 bits for alpha.
Declaration
public const PixelFormat R10G10B10A2_UInt
Field Value
PixelFormat
|
R10G10B10A2_UNorm
A four-component, 32-bit unsigned-normalized-integer format that supports 10 bits for each color and 2 bits for alpha.
Declaration
public const PixelFormat R10G10B10A2_UNorm
Field Value
PixelFormat
|
R11G11B10_Float
Three partial-precision floating-point numbers encoded into a single 32-bit value (a variant of s10e5, which is sign bit, 10-bit mantissa, and 5-bit biased (15) exponent). There are no sign bits, and there is a 5-bit biased (15) exponent for each channel, 6-bit mantissa for R and G, and a 5-bit mantissa for B.
Declaration
public const PixelFormat R11G11B10_Float
Field Value
PixelFormat
|
R16_Float
A single-component, 16-bit floating-point format that supports 16 bits for the red channel.
Declaration
public const PixelFormat R16_Float
Field Value
PixelFormat
|
R16_SInt
A single-component, 16-bit signed-integer format that supports 16 bits for the red channel.
Declaration
public const PixelFormat R16_SInt
Field Value
PixelFormat
|
R16_SNorm
A single-component, 16-bit signed-normalized-integer format that supports 16 bits for the red channel.
Declaration
public const PixelFormat R16_SNorm
Field Value
PixelFormat
|
R16_Typeless
A single-component, 16-bit typeless format that supports 16 bits for the red channel.
Declaration
public const PixelFormat R16_Typeless
Field Value
PixelFormat
|
R16_UInt
A single-component, 16-bit unsigned-integer format that supports 16 bits for the red channel.
Declaration
public const PixelFormat R16_UInt
Field Value
PixelFormat
|
R16_UNorm
A single-component, 16-bit unsigned-normalized-integer format that supports 16 bits for the red channel.
Declaration
public const PixelFormat R16_UNorm
Field Value
PixelFormat
|
R16G16_Float
A two-component, 32-bit floating-point format that supports 16 bits for the red channel and 16 bits for the green channel.
Declaration
public const PixelFormat R16G16_Float
Field Value
PixelFormat
|
R16G16_SInt
A two-component, 32-bit signed-integer format that supports 16 bits for the red channel and 16 bits for the green channel.
Declaration
public const PixelFormat R16G16_SInt
Field Value
PixelFormat
|
R16G16_SNorm
A two-component, 32-bit signed-normalized-integer format that supports 16 bits for the red channel and 16 bits for the green channel.
Declaration
public const PixelFormat R16G16_SNorm
Field Value
PixelFormat
|
R16G16_Typeless
A two-component, 32-bit typeless format that supports 16 bits for the red channel and 16 bits for the green channel.
Declaration
public const PixelFormat R16G16_Typeless
Field Value
PixelFormat
|
R16G16_UInt
A two-component, 32-bit unsigned-integer format that supports 16 bits for the red channel and 16 bits for the green channel.
Declaration
public const PixelFormat R16G16_UInt
Field Value
PixelFormat
|
R16G16_UNorm
A two-component, 32-bit unsigned-normalized-integer format that supports 16 bits each for the green and red channels.
Declaration
public const PixelFormat R16G16_UNorm
Field Value
PixelFormat
|
R16G16B16A16_Float
A four-component, 64-bit floating-point format that supports 16 bits per channel including alpha.
Declaration
public const PixelFormat R16G16B16A16_Float
Field Value
PixelFormat
|
R16G16B16A16_SInt
A four-component, 64-bit signed-integer format that supports 16 bits per channel including alpha.
Declaration
public const PixelFormat R16G16B16A16_SInt
Field Value
PixelFormat
|
R16G16B16A16_SNorm
A four-component, 64-bit signed-normalized-integer format that supports 16 bits per channel including alpha.
Declaration
public const PixelFormat R16G16B16A16_SNorm
Field Value
PixelFormat
|
R16G16B16A16_Typeless
A four-component, 64-bit typeless format that supports 16 bits per channel including alpha.
Declaration
public const PixelFormat R16G16B16A16_Typeless
Field Value
PixelFormat
|
R16G16B16A16_UInt
A four-component, 64-bit unsigned-integer format that supports 16 bits per channel including alpha.
Declaration
public const PixelFormat R16G16B16A16_UInt
Field Value
PixelFormat
|
R16G16B16A16_UNorm
A four-component, 64-bit unsigned-normalized-integer format that supports 16 bits per channel including alpha.
Declaration
public const PixelFormat R16G16B16A16_UNorm
Field Value
PixelFormat
|
R24_UNorm_X8_Typeless
A 32-bit format, that contains a 24 bit, single-component, unsigned-normalized integer, with an additional typeless 8 bits. This format has 24 bits red channel and 8 bits unused.
Declaration
public const PixelFormat R24_UNorm_X8_Typeless
Field Value
PixelFormat
|
R24G8_Typeless
A two-component, 32-bit typeless format that supports 24 bits for the red channel and 8 bits for the green channel.
Declaration
public const PixelFormat R24G8_Typeless
Field Value
PixelFormat
|
R32_Float
A single-component, 32-bit floating-point format that supports 32 bits for the red channel.
Declaration
public const PixelFormat R32_Float
Field Value
PixelFormat
|
R32_Float_X8X24_Typeless
A 32-bit floating-point component, and two typeless components (with an additional 32 bits). This format supports 32-bit red channel, 8 bits are unused, and 24 bits are unused.
Declaration
public const PixelFormat R32_Float_X8X24_Typeless
Field Value
PixelFormat
|
R32_SInt
A single-component, 32-bit signed-integer format that supports 32 bits for the red channel.
Declaration
public const PixelFormat R32_SInt
Field Value
PixelFormat
|
R32_Typeless
A single-component, 32-bit typeless format that supports 32 bits for the red channel.
Declaration
public const PixelFormat R32_Typeless
Field Value
PixelFormat
|
R32_UInt
A single-component, 32-bit unsigned-integer format that supports 32 bits for the red channel.
Declaration
public const PixelFormat R32_UInt
Field Value
PixelFormat
|
R32G32_Float
A two-component, 64-bit floating-point format that supports 32 bits for the red channel and 32 bits for the green channel.
Declaration
public const PixelFormat R32G32_Float
Field Value
PixelFormat
|
R32G32_SInt
A two-component, 64-bit signed-integer format that supports 32 bits for the red channel and 32 bits for the green channel.
Declaration
public const PixelFormat R32G32_SInt
Field Value
PixelFormat
|
R32G32_Typeless
A two-component, 64-bit typeless format that supports 32 bits for the red channel and 32 bits for the green channel.
Declaration
public const PixelFormat R32G32_Typeless
Field Value
PixelFormat
|
R32G32_UInt
A two-component, 64-bit unsigned-integer format that supports 32 bits for the red channel and 32 bits for the green channel.
Declaration
public const PixelFormat R32G32_UInt
Field Value
PixelFormat
|
R32G32B32_Float
A three-component, 96-bit floating-point format that supports 32 bits per color channel.
Declaration
public const PixelFormat R32G32B32_Float
Field Value
PixelFormat
|
R32G32B32_SInt
A three-component, 96-bit signed-integer format that supports 32 bits per color channel.
Declaration
public const PixelFormat R32G32B32_SInt
Field Value
PixelFormat
|
R32G32B32_Typeless
A three-component, 96-bit typeless format that supports 32 bits per color channel.
Declaration
public const PixelFormat R32G32B32_Typeless
Field Value
PixelFormat
|
R32G32B32_UInt
A three-component, 96-bit unsigned-integer format that supports 32 bits per color channel.
Declaration
public const PixelFormat R32G32B32_UInt
Field Value
PixelFormat
|
R32G32B32A32_Float
A four-component, 128-bit floating-point format that supports 32 bits per channel including alpha.
Declaration
public const PixelFormat R32G32B32A32_Float
Field Value
PixelFormat
|
R32G32B32A32_SInt
A four-component, 128-bit signed-integer format that supports 32 bits per channel including alpha.
Declaration
public const PixelFormat R32G32B32A32_SInt
Field Value
PixelFormat
|
R32G32B32A32_Typeless
A four-component, 128-bit typeless format that supports 32 bits per channel including alpha.
Declaration
public const PixelFormat R32G32B32A32_Typeless
Field Value
PixelFormat
|
R32G32B32A32_UInt
A four-component, 128-bit unsigned-integer format that supports 32 bits per channel including alpha.
Declaration
public const PixelFormat R32G32B32A32_UInt
Field Value
PixelFormat
|
R32G8X24_Typeless
A two-component, 64-bit typeless format that supports 32 bits for the red channel, 8 bits for the green channel, and 24 bits are unused.
Declaration
public const PixelFormat R32G8X24_Typeless
Field Value
PixelFormat
|
R8_SInt
A single-component, 8-bit signed-integer format that supports 8 bits for the red channel.
Declaration
public const PixelFormat R8_SInt
Field Value
PixelFormat
|
R8_SNorm
A single-component, 8-bit signed-normalized-integer format that supports 8 bits for the red channel.
Declaration
public const PixelFormat R8_SNorm
Field Value
PixelFormat
|
R8_Typeless
A single-component, 8-bit typeless format that supports 8 bits for the red channel.
Declaration
public const PixelFormat R8_Typeless
Field Value
PixelFormat
|
R8_UInt
A single-component, 8-bit unsigned-integer format that supports 8 bits for the red channel.
Declaration
public const PixelFormat R8_UInt
Field Value
PixelFormat
|
R8_UNorm
A single-component, 8-bit unsigned-normalized-integer format that supports 8 bits for the red channel.
Declaration
public const PixelFormat R8_UNorm
Field Value
PixelFormat
|
R8G8_B8G8_UNorm
A four-component, 32-bit unsigned-normalized-integer format. This packed RGB format is analogous to the UYVY format. Each 32-bit block describes a pair of pixels: (R8, G8, B8) and (R8, G8, B8) where the R8/B8 values are repeated, and the G8 values are unique to each pixel. Width must be even.
Declaration
public const PixelFormat R8G8_B8G8_UNorm
Field Value
PixelFormat
|
R8G8_SInt
A two-component, 16-bit signed-integer format that supports 8 bits for the red channel and 8 bits for the green channel.
Declaration
public const PixelFormat R8G8_SInt
Field Value
PixelFormat
|
R8G8_SNorm
A two-component, 16-bit signed-normalized-integer format that supports 8 bits for the red channel and 8 bits for the green channel.
Declaration
public const PixelFormat R8G8_SNorm
Field Value
PixelFormat
|
R8G8_Typeless
A two-component, 16-bit typeless format that supports 8 bits for the red channel and 8 bits for the green channel.
Declaration
public const PixelFormat R8G8_Typeless
Field Value
PixelFormat
|
R8G8_UInt
A two-component, 16-bit unsigned-integer format that supports 8 bits for the red channel and 8 bits for the green channel.
Declaration
public const PixelFormat R8G8_UInt
Field Value
PixelFormat
|
R8G8_UNorm
A two-component, 16-bit unsigned-normalized-integer format that supports 8 bits for the red channel and 8 bits for the green channel.
Declaration
public const PixelFormat R8G8_UNorm
Field Value
PixelFormat
|
R8G8B8A8_SInt
A four-component, 32-bit signed-integer format that supports 8 bits per channel including alpha.
Declaration
public const PixelFormat R8G8B8A8_SInt
Field Value
PixelFormat
|
R8G8B8A8_SNorm
A four-component, 32-bit signed-normalized-integer format that supports 8 bits per channel including alpha.
Declaration
public const PixelFormat R8G8B8A8_SNorm
Field Value
PixelFormat
|
R8G8B8A8_Typeless
A four-component, 32-bit typeless format that supports 8 bits per channel including alpha.
Declaration
public const PixelFormat R8G8B8A8_Typeless
Field Value
PixelFormat
|
R8G8B8A8_UInt
A four-component, 32-bit unsigned-integer format that supports 8 bits per channel including alpha.
Declaration
public const PixelFormat R8G8B8A8_UInt
Field Value
PixelFormat
|
R8G8B8A8_UNorm
A four-component, 32-bit unsigned-normalized-integer format that supports 8 bits per channel including alpha.
Declaration
public const PixelFormat R8G8B8A8_UNorm
Field Value
PixelFormat
|
R8G8B8A8_UNorm_sRGB
A four-component, 32-bit unsigned-normalized integer sRGB format that supports 8 bits per channel including alpha.
Declaration
public const PixelFormat R8G8B8A8_UNorm_sRGB
Field Value
PixelFormat
|
R9G9B9E5_SharedExp
Unknown
value__
Declaration
public uint value__
Field Value
System.UInt32
|
X24_Typeless_G8_UInt
A 32-bit format, that contains a 24 bit, single-component, typeless format, with an additional 8 bit unsigned integer component. This format has 24 bits unused and 8 bits green channel.
Declaration
public const PixelFormat X24_Typeless_G8_UInt
Field Value
PixelFormat
|
X32_Typeless_G8X24_UInt
A 32-bit typeless component, and two unsigned-integer components (with an additional 32 bits). This format has 32 bits unused, 8 bits for green channel, and 24 bits are unused.
Declaration
public const PixelFormat X32_Typeless_G8X24_UInt
Field Value
PixelFormat
|
YUY2
Packed YUV 4:2:2 video texture format. The mapping to the view channel in shader is Y0->R8, U0->G8, Y1->B8, and V0->A8.
Declaration
public const PixelFormat YUY2
Field Value
PixelFormat
|