D3D11_TILE_SHAPE Structure

Describes the shape of a tile by specifying its dimensions.

Syntax

typedef struct D3D11_TILE_SHAPE {
    UINT WidthInTexels;
    UINT HeightInTexels;
    UINT DepthInTexels;
} D3D11_TILE_SHAPE;  

Members

WidthInTexels
The width in texels of the tile.

HeightInTexels
The height in texels of the tile.

DepthInTexels
The depth in texels of the tile.

Remarks

Texels are equivalent to pixels. For untyped buffer resources, a texel is just a byte. For multisample antialiasing (MSAA) surfaces, the numbers are still in terms of pixels/texels. The values here are independent of the surface dimensions. Even if the surface is smaller than what would fit in a tile, the full tile dimensions are reported here.

This structure is output by ID3D11Device2::GetResourceTiling.

Requirements

Header: Declared in d3d11_x.h (Desktop: d3d11_2.h).