> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# D3D12_TILE_SHAPE

> Describes the shape of a tile by specifying its dimensions. (D3D12_TILE_SHAPE)

Describes the shape of a tile by specifying its dimensions.

## Syntax

```cpp theme={null}
typedef struct D3D12_TILE_SHAPE
{
    UINT WidthInTexels;
    UINT HeightInTexels;
    UINT DepthInTexels;
} D3D12_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

This structure is used by the [GetResourceTiling](/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_getresourcetiling_public)     method.

## Requirements

**Header:** d3d12\_xs.h or d3d12\_x.h\
**Library:** d3d12\_xs.lib or d3d12\_x.lib\
**Supported Platforms**: XBOX Series consoles and XBOX One family

## See Also

[CD3DX12\_TILE\_SHAPE](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/cd3dx12-tile-shape)

[Core Structures](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-structures)


## Related topics

- [GetResourceTiling](/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_getresourcetiling_public.md)
- [D3D12_TILE_RANGE_FLAGS](/reference/graphics/d3d12/enums/d3d12_tile_range_flags_public.md)
- [D3D12_TILE_COPY_FLAGS](/reference/graphics/d3d12/enums/d3d12_tile_copy_flags_public.md)
- [D3D12_TILE_MAPPING_FLAGS](/reference/graphics/d3d12/enums/d3d12_tile_mapping_flags_public.md)
- [D3D12_TILE_REGION_SIZE](/reference/graphics/d3d12/structs/d3d12_tile_region_size_public.md)
