ProtectedconstructorStatic ReadonlyBC1DXT1/BC1 format containing opaque RGB. 4 bits per pixel.
Static ReadonlyBC2DXT3/BC2 format containing RGB with explicit alpha. 8 bits per pixel.
Static ReadonlyBC3DXT5/BC2 format containing RGB with explicit alpha. 8 bits per pixel. Better alpha gradients than BC2.
Static ReadonlyBC4One channel compressed format. 4 bits per pixel.
Static ReadonlyBC5Two channel compressed format. 8 bits per pixel.
Static ReadonlyBC6HFormat storing RGB in half (16-bit) signed floating point format usable for HDR. 8 bits per pixel.
Static ReadonlyBC7Format storing RGB with optional alpha channel. Similar to BC1/BC2/BC3 formats but with higher quality and higher decompress overhead. 8 bits per pixel.
Static ReadonlyBGR88-bit 3-channel pixel format, unsigned normalized.
Static ReadonlyBGRA88-bit 4-channel pixel format, unsigned normalized.
Static ReadonlyD16Depth format, 16bits. Unsigned normalized.
Static ReadonlyD24Depth stencil fomrat, 24bit depth + 8bit stencil. Depth stored as unsigned normalized.
Static ReadonlyD32Depth format, 32bits. Signed float.
Static ReadonlyD32_Depth stencil format, 32bit depth, 8bit stencil + 24 unused. Depth stored as signed float.
Static ReadonlyR1616-bit 1-channel pixel format, unsigned normalized.
Static ReadonlyR16F16-bit 1-channel pixel format, signed float.
Static ReadonlyR16I16-bit 1-channel pixel format, signed integer.
Static ReadonlyR16S16-bit 1-channel pixel format, signed normalized.
Static ReadonlyR16U16-bit 1-channel pixel format, unsigned integer.
Static ReadonlyR32F32-bit 1-channel pixel format, signed float.
Static ReadonlyR32I32-bit 1-channel pixel format, signed integer.
Static ReadonlyR32U32-bit 1-channel pixel format, unsigned integer.
Static ReadonlyR88-bit 1-channel pixel format, unsigned normalized.
Static ReadonlyR8I8-bit 1-channel pixel format, signed integer.
Static ReadonlyR8S8-bit 1-channel pixel format, signed normalized.
Static ReadonlyR8U8-bit 1-channel pixel format, unsigned integer.
Static ReadonlyRG11Packed unsigned float format, 11 bits for red, 11 bits for green, 10 bits for blue.
Static ReadonlyRG1616-bit 2-channel pixel format, unsigned normalized.
Static ReadonlyRG16F16-bit 2-channel pixel format, signed float.
Static ReadonlyRG16I16-bit 2-channel pixel format, signed integer.
Static ReadonlyRG16S16-bit 2-channel pixel format, signed normalized.
Static ReadonlyRG16U16-bit 2-channel pixel format, unsigned integer.
Static ReadonlyRG32F32-bit 2-channel pixel format, signed float.
Static ReadonlyRG32I32-bit 2-channel pixel format, signed integer.
Static ReadonlyRG32U32-bit 2-channel pixel format, unsigned integer.
Static ReadonlyRG88-bit 2-channel pixel format, unsigned normalized.
Static ReadonlyRG8I8-bit 2-channel pixel format, signed integer.
Static ReadonlyRG8S8-bit 2-channel pixel format, signed normalized.
Static ReadonlyRG8U8-bit 2-channel pixel format, unsigned integer.
Static ReadonlyRgb10a2Packed unsigned normalized format, 10 bits for red, 10 bits for green, 10 bits for blue, and two bits for alpha.
Static ReadonlyRGB1616-bit 3-channel pixel format, unsigned normalized.
Static ReadonlyRGB32F32-bit 3-channel pixel format, signed float.
Static ReadonlyRGB32I32-bit 3-channel pixel format, signed integer.
Static ReadonlyRGB32U32-bit 3-channel pixel format, unsigned integer.
Static ReadonlyRGB88-bit 3-channel pixel format, unsigned normalized.
Static ReadonlyRGBA1616-bit 4-channel pixel format, unsigned normalized.
Static ReadonlyRGBA16F16-bit 4-channel pixel format, signed float.
Static ReadonlyRGBA16I16-bit 4-channel pixel format, signed integer.
Static ReadonlyRGBA16S16-bit 4-channel pixel format, signed normalized.
Static ReadonlyRGBA16U16-bit 4-channel pixel format, unsigned integer.
Static ReadonlyRGBA32F32-bit 4-channel pixel format, signed float.
Static ReadonlyRGBA32I32-bit 4-channel pixel format, signed integer.
Static ReadonlyRGBA32U32-bit 4-channel pixel format, unsigned integer.
Static ReadonlyRGBA88-bit 4-channel pixel format, unsigned normalized.
Static ReadonlyRGBA8I8-bit 4-channel pixel format, signed integer.
Static ReadonlyRGBA8S8-bit 4-channel pixel format, signed normalized.
Static ReadonlyRGBA8U8-bit 4-channel pixel format, unsigned integer.
Static ReadonlyUnknownUnknown pixel format.
StaticaddAdds the flag bits to the enum value.
StaticcombineTakes an array of enum values and combines them as a single enum flag value. This assumes that the
target enum is a flag enum that can have their values combined using bitwise operators.
The array of values to be combined using bitwise-or operator.
The combined enum value.
StaticgetStaticgetStaticgetStaticgetStaticgetGets the name for the enumeration value that matches the specified enumValue.
The enumeration value.
The enumeration value or undefined if not found.
StaticgetStaticgetGets the enumeration value at the specified index.
The index.
The enumeration value or undefined if not found.
StaticgetGets the enumeration values
The enumeration values.
StatichasDetermines if the enum value has the flags set.
StatichasDetermines if the enum bits were changed from previousValue to currentValue.
StaticiterateStaticiterateIterates the enumeration values
The enumeration values.
StaticremoveRemoves the flag bits from the enum value.
StaticsplitTakes a single enum value and splits it into separated flag values set on the value. This
assumes that the target enum is a flag enum that can have their values combined using bitwise operators.
The enum value to have it's value split using bitwise-and operator.
An array of each "bit flag" set in the enum.
Pixel formats usable by images, textures and render surfaces.