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

# XG_SUBRESOURCE_TILING (XBOX One 系列)

> 控制子資源的並排。

控制子資源的並排。

<a id="syntaxSection" />

## 語法

```cpp theme={null}
typedef struct XG_SUBRESOURCE_TILING {
    UINT32 WidthInTiles;
    UINT16 HeightInTiles;
    UINT16 DepthInTiles;
    UINT32 StartTileIndexInOverallResource;
} XG_SUBRESOURCE_TILING  
```

<a id="membersSection" />

### 成員

*WidthInTiles*\
類型：UINT32

子資源的寬度 (以圖格為單位)。

*HeightInTiles*\
類型：UINT16

子資源的高度 (以圖格為單位)。

*DepthInTiles*\
類型：UINT16

子資源的深度 (以圖格為單位)。

*StartTileIndexInOverallResource*\
類型：UINT32

包含該子資源之整體資源中的起始圖格索引。

<a id="remarksSection" />

## 備註

此結構控制 XBOX Graphics (XG) 程式庫中子資源的並排。XG 程式庫中的 [XGTextureAddressComputer::GetResourceTiling](/zh-TW/reference/graphics/xg__NR/interfaces/XGTextureAddressComputer/methods/xgtextureaddresscomputer_getresourcetiling) 方法會使用 `XG_SUBRESOURCE_TILING`。

如需 XG 程式庫的詳細資訊，請參閱 [XBOX One 的原生資源管理](https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/graphics/directx/native-resource-management)。

<a id="requirementsSection" />

## 需求

**標頭：** xg.h

**程式庫：** xg\_x.lib

**支援的平台：** XBOX One 系列

<a id="seealsoSection" />

## 另請參閱

[XG 參考](/zh-TW/reference/graphics/xg__NR/xg_members)


## Related topics

- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
- [D3D12_SUBRESOURCE_TILING](/zh-CN/reference/graphics/d3d12/structs/d3d12_subresource_tiling_public.md)
- [GetResourceTiling](/zh-CN/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_getresourcetiling_public.md)
- [XBOX GDK 主机开发 NDA 主题索引](/zh-CN/nda/nda-overview.md)
- [Diretório de tópicos NDA: links ativos do Microsoft Learn](/pt-BR/nda/nda-topic-directory.md)
