typedef enum D3D11X_TILE_MODE
{
D3D11X_TILE_MODE_DEFAULT = 0xfe,
D3D11X_TILE_MODE_INVALID = 0xff,
D3D11X_TILE_MODE_COMP_DEPTH_0 = 0,
D3D11X_TILE_MODE_COMP_DEPTH_1 = 1,
D3D11X_TILE_MODE_COMP_DEPTH_2 = 2,
D3D11X_TILE_MODE_COMP_DEPTH_3 = 3,
D3D11X_TILE_MODE_COMP_DEPTH_4 = 4,
D3D11X_TILE_MODE_UNC_DEPTH_5 = 5,
D3D11X_TILE_MODE_UNC_DEPTH_6 = 6,
D3D11X_TILE_MODE_UNC_DEPTH_7 = 7,
D3D11X_TILE_MODE_LINEAR = 8,
D3D11X_TILE_MODE_DISPLAY = 9,
D3D11X_TILE_MODE_2D_DISPLAY = 10,
D3D11X_TILE_MODE_TILED_DISPLAY = 11,
D3D11X_TILE_MODE_TILED_2D_DISPLAY = 12,
D3D11X_TILE_MODE_1D_THIN = 13,
D3D11X_TILE_MODE_2D_THIN = 14,
D3D11X_TILE_MODE_3D_THIN = 15,
D3D11X_TILE_MODE_TILED_1D_THIN = 16,
D3D11X_TILE_MODE_TILED_2D_THIN = 17,
D3D11X_TILE_MODE_TILED_3D_THIN = 18,
D3D11X_TILE_MODE_1D_THICK = 19,
D3D11X_TILE_MODE_2D_THICK = 20,
D3D11X_TILE_MODE_3D_THICK = 21,
D3D11X_TILE_MODE_TILED_1D_THICK = 22,
D3D11X_TILE_MODE_TILED_2D_THICK = 23,
D3D11X_TILE_MODE_TILED_3D_THICK = 24,
D3D11X_TILE_MODE_2D_XTHICK = 25,
D3D11X_TILE_MODE_3D_XTHICK = 26,
D3D11X_TILE_MODE_RESERVED_27 = 27,
D3D11X_TILE_MODE_RESERVED_28 = 28,
D3D11X_TILE_MODE_RESERVED_29 = 29,
D3D11X_TILE_MODE_RESERVED_30 = 30,
D3D11X_TILE_MODE_LINEAR_GENERAL = 31
} D3D11X_TILE_MODE;
| Constant | Description |
|---|---|
| D3D11X_TILE_MODE_DEFAULT | Default. |
| D3D11X_TILE_MODE_INVALID | Invalid. |
| D3D11X_TILE_MODE_COMP_DEPTH_0 | COMP_DEPTH_0 |
| D3D11X_TILE_MODE_COMP_DEPTH_1 | COMP_DEPTH_1 |
| D3D11X_TILE_MODE_COMP_DEPTH_2 | COMP_DEPTH_2 |
| D3D11X_TILE_MODE_COMP_DEPTH_3 | COMP_DEPTH_3 |
| D3D11X_TILE_MODE_COMP_DEPTH_4 | COMP_DEPTH_4 |
| D3D11X_TILE_MODE_UNC_DEPTH_5 | COMP_DEPTH_5. Uncompressed depth; the driver does not currently use this tile mode. |
| D3D11X_TILE_MODE_UNC_DEPTH_6 | COMP_DEPTH_6 |
| D3D11X_TILE_MODE_UNC_DEPTH_7 | COMP_DEPTH_7 |
| D3D11X_TILE_MODE_LINEAR | Used for linear textures (no swizzling), like dynamic and staging usage textures. |
| D3D11X_TILE_MODE_DISPLAY | Display microtiling (8x8x1 microtile with a pattern optimized for display scan-out). Used for display (swap chain) textures. |
| D3D11X_TILE_MODE_2D_DISPLAY | Display microtiling with macrotiling. This is the default tile mode selected by the driver for swap chain textures. |
| D3D11X_TILE_MODE_TILED_DISPLAY | Used for D3D tiled resources. |
| D3D11X_TILE_MODE_TILED_2D_DISPLAY | Display microtiling with macrotiling. Used for D3D tiled resources |
| D3D11X_TILE_MODE_1D_THIN | Thin means the default microtiling mode (8x8x1 microtile). This is the default tile mode selected by the driver for non-rendertarget textures. This tile mode is identical across Xbox One and Xbox One X hardware. |
| D3D11X_TILE_MODE_2D_THIN | Thin microtiling with macrotiling. This is the default tile mode selected by the driver for rendertarget textures. |
| D3D11X_TILE_MODE_3D_THIN | 3D is two levels of macrotiling plus microtiling. The driver does not currently use this tile mode. |
| D3D11X_TILE_MODE_TILED_1D_THIN | TILED_1D_THIN. Microtiling only. Used for D3D tiled resource. Thin means the default microtiling mode (8x8x1 microtile). |
| D3D11X_TILE_MODE_TILED_2D_THIN | TILED_2D_THIN. Microtiling with macrotiling. Used for D3D tiled resource. |
| D3D11X_TILE_MODE_TILED_3D_THIN | TILED_3D_THIN. Microtiling with two levels of macrotiling. Used for D3D tiled resource. |
| D3D11X_TILE_MODE_1D_THICK | 1D_THICK. THICK is a special microtiling pattern for use with array and volume textures, which the driver does not currently use. THICK is an 8x8x4 microtiling pattern and is not compatible with render target or depth stencil usage. |
| D3D11X_TILE_MODE_2D_THICK | 2D_THICK. |
| D3D11X_TILE_MODE_3D_THICK | 3D_THICK. |
| D3D11X_TILE_MODE_TILED_1D_THICK | TILED_1D_THICK. Microtiling only. Used for D3D tiled resources. THICK is a special microtiling pattern for use with array and volume textures, which the driver does not currently use. |
| D3D11X_TILE_MODE_TILED_2D_THICK | TILED_2D_THICK. Microtiling with macrotiling. Used for D3D tiled resource. |
| D3D11X_TILE_MODE_TILED_3D_THICK | TILED_3D_THICK. Microtiling with two levels of macrotiling. Used for D3D tiled resource. |
| D3D11X_TILE_MODE_2D_XTHICK | 2D_XTHICK. XTHICK is a special microtiling pattern for use with array and volume textures, which the driver does not currently use. XTHICK is an 8x8x8 microtiling pattern and is not compatible with render target or depth stencil usage. |
| D3D11X_TILE_MODE_3D_XTHICK | 3D_XTHICK. |
| D3D11X_TILE_MODE_RESERVED_27 | Reserved. |
| D3D11X_TILE_MODE_RESERVED_28 | Reserved. |
| D3D11X_TILE_MODE_RESERVED_29 | Reserved. |
| D3D11X_TILE_MODE_RESERVED_30 | Reserved. |
| D3D11X_TILE_MODE_LINEAR_GENERAL | Linear general. |
The GPU is capable of swizzling texels within a texture in 32 different patterns. These 32 different patterns are represented by the D3D11X_TILE_MODE or XG_TILE_MODE enumerations. The driver only uses a subset of the 32 patterns at the moment.
Header: Declared in d3d11_x.h.