D3D11_TILE_SHAPE structure (d3d11_2.h)

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

Type: UINT

The width in texels of the tile.

HeightInTexels

Type: UINT

The height in texels of the tile.

DepthInTexels

Type: UINT

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.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 R2 [desktop apps | UWP apps]
Header d3d11_2.h

See also

Resource Structures