The ImageFormat enumeration in the Sandbox
namespace defines a set of constants that specify the format of an image. This enumeration is used to identify the pixel format of images in various operations, such as rendering or image processing.
The ImageFormat enumeration in the Sandbox
namespace defines a set of constants that specify the format of an image. This enumeration is used to identify the pixel format of images in various operations, such as rendering or image processing.
Member Name | Summary |
---|---|
None | No image format specified. |
Default | The default image format. |
RGBA8888 | 32-bit image format with 8 bits for each channel (Red, Green, Blue, Alpha). |
ABGR8888 | 32-bit image format with 8 bits for each channel (Alpha, Blue, Green, Red). |
RGB888 | 24-bit image format with 8 bits for each channel (Red, Green, Blue). |
BGR888 | 24-bit image format with 8 bits for each channel (Blue, Green, Red). |
RGB565 | 16-bit image format with 5 bits for Red, 6 bits for Green, and 5 bits for Blue. |
I8 | 8-bit grayscale image format. |
IA88 | 16-bit image format with 8 bits for intensity and 8 bits for alpha. |
P8 | 8-bit paletted image format. |
A8 | 8-bit alpha-only image format. |
RGB888_BLUESCREEN | 24-bit image format with a blue screen mask. |
BGR888_BLUESCREEN | 24-bit image format with a blue screen mask. |
ARGB8888 | 32-bit image format with 8 bits for each channel (Alpha, Red, Green, Blue). |
BGRA8888 | 32-bit image format with 8 bits for each channel (Blue, Green, Red, Alpha). |
DXT1 | Compressed image format using DXT1 compression. |
DXT3 | Compressed image format using DXT3 compression. |
DXT5 | Compressed image format using DXT5 compression. |
BGRX8888 | 32-bit image format with 8 bits for each channel (Blue, Green, Red, unused). |
BGR565 | 16-bit image format with 5 bits for Blue, 6 bits for Green, and 5 bits for Red. |
BGRX5551 | 16-bit image format with 5 bits for each channel (Blue, Green, Red) and 1 unused bit. |
BGRA4444 | 16-bit image format with 4 bits for each channel (Blue, Green, Red, Alpha). |
DXT1_ONEBITALPHA | Compressed image format using DXT1 with one-bit alpha. |
BGRA5551 | 16-bit image format with 5 bits for each channel (Blue, Green, Red) and 1 bit for Alpha. |
UV88 | 16-bit image format with 8 bits for each channel (U, V). |
UVWQ8888 | 32-bit image format with 8 bits for each channel (U, V, W, Q). |
RGBA16161616F | 64-bit floating-point image format with 16 bits for each channel (Red, Green, Blue, Alpha). |
RGBA16161616 | 64-bit image format with 16 bits for each channel (Red, Green, Blue, Alpha). |
UVLX8888 | 32-bit image format with 8 bits for each channel (U, V, L, X). |
R32F | 32-bit floating-point image format for the Red channel. |
RGB323232F | 96-bit floating-point image format with 32 bits for each channel (Red, Green, Blue). |
RGBA32323232F | 128-bit floating-point image format with 32 bits for each channel (Red, Green, Blue, Alpha). |
NV_DST16 | NVIDIA-specific 16-bit depth format. |
NV_DST24 | NVIDIA-specific 24-bit depth format. |
NV_INTZ | NVIDIA-specific depth format with stencil. |
NV_RAWZ | NVIDIA-specific raw depth format. |
ATI_DST16 | ATI-specific 16-bit depth format. |
ATI_DST24 | ATI-specific 24-bit depth format. |
ATI2N | ATI-specific compressed format for normal maps. |
ATI1N | ATI-specific compressed format for single-channel data. |
X360_DST16 | X360-specific 16-bit depth format. |
X360_DST24 | X360-specific 24-bit depth format. |
X360_DST24F | X360-specific 24-bit floating-point depth format. |
LINEAR_BGRX8888 | Linear 32-bit image format with 8 bits for each channel (Blue, Green, Red, unused). |
LINEAR_RGBA8888 | Linear 32-bit image format with 8 bits for each channel (Red, Green, Blue, Alpha). |
LINEAR_ABGR8888 | Linear 32-bit image format with 8 bits for each channel (Alpha, Blue, Green, Red). |
LINEAR_ARGB8888 | Linear 32-bit image format with 8 bits for each channel (Alpha, Red, Green, Blue). |
LINEAR_BGRA8888 | Linear 32-bit image format with 8 bits for each channel (Blue, Green, Red, Alpha). |
LINEAR_RGB888 | Linear 24-bit image format with 8 bits for each channel (Red, Green, Blue). |
LINEAR_BGR888 | Linear 24-bit image format with 8 bits for each channel (Blue, Green, Red). |
LINEAR_BGRX5551 | Linear 16-bit image format with 5 bits for each channel (Blue, Green, Red) and 1 unused bit. |
LINEAR_I8 | Linear 8-bit grayscale image format. |
LINEAR_RGBA16161616 | Linear 64-bit image format with 16 bits for each channel (Red, Green, Blue, Alpha). |
LE_BGRX8888 | Little-endian 32-bit image format with 8 bits for each channel (Blue, Green, Red, unused). |
LE_BGRA8888 | Little-endian 32-bit image format with 8 bits for each channel (Blue, Green, Red, Alpha). |
RG1616F | 32-bit floating-point image format with 16 bits for each channel (Red, Green). |
RG3232F | 64-bit floating-point image format with 32 bits for each channel (Red, Green). |
RGBX8888 | 32-bit image format with 8 bits for each channel (Red, Green, Blue, unused). |
NULL | Null image format, used as a placeholder. |
RGBA1010102 | 32-bit image format with 10 bits for each channel (Red, Green, Blue) and 2 bits for Alpha. |
BGRA1010102 | 32-bit image format with 10 bits for each channel (Blue, Green, Red) and 2 bits for Alpha. |
R16F | 16-bit floating-point image format for the Red channel. |
D16 | 16-bit depth format. |
D15S1 | 16-bit depth format with 1-bit stencil. |
D32 | 32-bit depth format. |
D24S8 | 24-bit depth format with 8-bit stencil. |
LINEAR_D24S8 | Linear 24-bit depth format with 8-bit stencil. |
D24X8 | 24-bit depth format with 8 unused bits. |
D24X4S4 | 24-bit depth format with 4-bit stencil and 4 unused bits. |
D24FS8 | 24-bit floating-point depth format with 8-bit stencil. |
D16_SHADOW | 16-bit shadow depth format. |
D24X8_SHADOW | 24-bit shadow depth format with 8 unused bits. |
RGBA16161616_EDRAM | 64-bit EDRAM image format with 16 bits for each channel (Red, Green, Blue, Alpha). |
RGBA1010102F_EDRAM | 32-bit EDRAM image format with 10 bits for each channel (Red, Green, Blue) and 2 bits for Alpha. |
R16F_EXPAND | 16-bit expanded floating-point image format for the Red channel. |
RG1616F_EXPAND | 32-bit expanded floating-point image format with 16 bits for each channel (Red, Green). |
RGBA16161616F_EXPAND | 64-bit expanded floating-point image format with 16 bits for each channel (Red, Green, Blue, Alpha). |
RGBA16161616F_EDRAM_RGBA1010102F | 64-bit EDRAM image format with 16 bits for each channel (Red, Green, Blue, Alpha) and 32-bit floating-point format. |
RGBA16161616F_EXPAND_EDRAM_RGBA1010102F | 64-bit expanded EDRAM image format with 16 bits for each channel (Red, Green, Blue, Alpha) and 32-bit floating-point format. |
RGBA16161616_EDRAM_RGBA16161616 | 64-bit EDRAM image format with 16 bits for each channel (Red, Green, Blue, Alpha). |
DXT5_NM | Compressed image format using DXT5 for normal maps. |
RG1616 | 32-bit image format with 16 bits for each channel (Red, Green). |
R16 | 16-bit image format for the Red channel. |
RGBA8888_LINEAR | Linear 32-bit image format with 8 bits for each channel (Red, Green, Blue, Alpha). |
BGRA8888_LINEAR | Linear 32-bit image format with 8 bits for each channel (Blue, Green, Red, Alpha). |
BGRX8888_LINEAR | Linear 32-bit image format with 8 bits for each channel (Blue, Green, Red, unused). |
RGBX555 | 16-bit image format with 5 bits for each channel (Red, Green, Blue) and 1 unused bit. |
BC6H | Compressed image format using BC6H compression. |
BC7 | Compressed image format using BC7 compression. |
R32_UINT | 32-bit unsigned integer image format for the Red channel. |
R8G8B8_ETC2 | Compressed image format using ETC2 compression for RGB. |
R8G8B8A8_ETC2_EAC | Compressed image format using ETC2 and EAC compression for RGBA. |
R11_EAC | Compressed image format using EAC compression for single-channel data. |
RG11_EAC | Compressed image format using EAC compression for two-channel data. |
D32FS8 | 32-bit floating-point depth format with 8-bit stencil. |
RGBA32323232 | 128-bit image format with 32 bits for each channel (Red, Green, Blue, Alpha). |
I16F | 16-bit floating-point grayscale image format. |