> ## 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](/zh-TW/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)

[核心結構](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-structures)


## Related topics

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