Establishes the maximum DCC compression unit size.
typedef enum D3D12XBOX_DCC_COMPRESSION_LEVEL
{
D3D12XBOX_DCC_COMPRESSION_LEVEL_64B_TEXTURE_COMPATIBLE = 0,
D3D12XBOX_DCC_COMPRESSION_LEVEL_128B = 1,
D3D12XBOX_DCC_COMPRESSION_LEVEL_256B = 2,
D3D12XBOX_DCC_COMPRESSION_LEVEL_DEFAULT = 3
} D3D12XBOX_DCC_COMPRESSION_LEVEL;
| Constant | Description |
|---|---|
| D3D12XBOX_DCC_COMPRESSION_LEVEL_64B_TEXTURE_COMPATIBLE | Establishes the maximum DCC compression unit size to be 64 of 256 bytes. For texture-cache compatibility this is the only supported value. |
| D3D12XBOX_DCC_COMPRESSION_LEVEL_128B | Establishes the maximum DCC compression unit size to be 128 of 256 bytes; that is, the compression can span 2 segments. |
| D3D12XBOX_DCC_COMPRESSION_LEVEL_256B | Establishes the maximum DCC compression unit size to be 256 of 256 bytes; that is, the compression can span all 4 segments. |
| D3D12XBOX_DCC_COMPRESSION_LEVEL_DEFAULT | Instructs the driver to apply the maximum amount of compression allowed based on the surface format. |
This structure is used in the D3D12XBOX_DCC_OPTIONS structure.
Header: Declared in d3d12_x.h.
Library: Use d3d12_x.lib.