> ## 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_TILE_SHAPE_ELEMENTS (XBOX One 系列)

> 儲存圖格的寬度、高度和深度 (以元素為單位)。

儲存圖格的寬度、高度和深度 (以元素為單位)。

<a id="syntaxSection" />

## 語法

```cpp theme={null}
typedef struct XG_TILE_SHAPE_ELEMENTS {
    UINT32 WidthInElements;
    UINT32 HeightInElements;
    UINT32 DepthInElements;
} XG_TILE_SHAPE_ELEMENTS  
```

<a id="membersSection" />

### 成員

*WidthInElements*\
類型：UINT32

圖格的寬度 (以元素為單位)。

*HeightInElements*\
類型：UINT32

圖格的高度 (以元素為單位)。

*DepthInElements*\
類型：UINT32

圖格的深度 (以元素為單位)。

<a id="remarksSection" />

## 備註

此結構會為 XBOX Graphics (XG) 程式庫儲存圖格的寬度、高度和深度 (以元素為單位)。`XG_TILE_SHAPE_ELEMENTS` 由 XG 程式庫中的 [XGComputeTileShape](/zh-TW/reference/graphics/xg__NR/functions/xgcomputetileshape) 函式使用。

如需 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_TILE_SHAPE](/zh-TW/reference/graphics/d3d12/structs/d3d12_tile_shape_public.md)
- [XBOX GDK 主機開發的 NDA 主題索引](/zh-TW/nda/nda-overview.md)
- [CopyTiles](/zh-TW/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_copytiles_public.md)
- [GetShapeEqCompDelayElement7](/zh-TW/reference/audio/shapeeqcompcontext/functions/getshapeeqcompdelayelement7.md)
