enum TEX_COMPRESS_FLAGS
{
TEX_COMPRESS_DEFAULT = 0,
TEX_COMPRESS_RGB_DITHER = 0x10000,
TEX_COMPRESS_A_DITHER = 0x20000,
TEX_COMPRESS_DITHER = 0x30000,
TEX_COMPRESS_UNIFORM = 0x40000,
TEX_COMPRESS_PARALLEL = 0x10000000
};
| Constant | Description |
|---|---|
| TEX_COMPRESS_DEFAULT | Default. |
| TEX_COMPRESS_RGB_DITHER | Enables dithering RGB colors for BC1-3 compression. |
| TEX_COMPRESS_A_DITHER | Enables dithering alpha channel for BC1-3 compression. |
| TEX_COMPRESS_DITHER | Same as TEX_COMPRESS_RGB_DITHER and TEX_COMPRESS_A_DITHER. |
| TEX_COMPRESS_UNIFORM | By default, BC1-3 uses a perceptual weighting. By using this flag, the perceptual weighting is disabled which can be useful when using the RGB channels for other data. |
| TEX_COMPRESS_PARALLEL | This opts-in to multi-threaded compression if enabled. |
Header: Declared in directxtex.h.