> ## 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_SUBRESOURCE_TILING

> 描述平铺子资源体积。(D3D12_SUBRESOURCE_TILING)

描述平铺子资源体积。

## 语法

```cpp theme={null}
typedef struct D3D12_SUBRESOURCE_TILING
{
    UINT WidthInTiles;
    UINT16 HeightInTiles;
    UINT16 DepthInTiles;
    UINT StartTileIndexInOverallResource;
} D3D12_SUBRESOURCE_TILING
```

### 成员

*WidthInTiles*\
类型：UINT

子资源的宽度（以图块为单位）。

*HeightInTiles*\
类型：UINT16

子资源的高度（以图块为单位）。

*DepthInTiles*\
类型：UINT16

子资源的深度（以图块为单位）。

*StartTileIndexInOverallResource*\
类型：UINT

从其开始的整个平铺子资源中的图块索引。

## 备注

此结构由 [GetResourceTiling](/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_getresourcetiling_public) 方法使用。

## 要求

**头文件：** d3d12\_xs.h 或 d3d12\_x.h\
**库：** d3d12\_xs.lib 或 d3d12\_x.lib\
**支持的平台**：XBOX Series 主机和 XBOX One 系列

## 另请参阅

[CD3DX12\_SUBRESOURCE\_TILING](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/cd3dx12-subresource-tiling)

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


## Related topics

- [GetResourceTiling](/zh-CN/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_getresourcetiling_public.md)
- [D3D12_SUBRESOURCE_DATA](/zh-CN/reference/graphics/d3d12/structs/d3d12_subresource_data_public.md)
- [D3D12_SUBRESOURCE_INFO](/zh-CN/reference/graphics/d3d12/structs/d3d12_subresource_info_public.md)
- [D3D12_SUBRESOURCE_FOOTPRINT](/zh-CN/reference/graphics/d3d12/structs/d3d12_subresource_footprint_public.md)
- [D3D12_PLACED_SUBRESOURCE_FOOTPRINT](/zh-CN/reference/graphics/d3d12/structs/d3d12_placed_subresource_footprint_public.md)
