> ## 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_PLANE_LAYOUT (XBOX Series 主機)

> 描述紋理硬體配置中的 mip 鏈結或中繼資料表面。

描述紋理硬體配置中的 mip 鏈結或中繼資料表面。

## 語法

```cpp theme={null}
typedef struct XG_PLANE_LAYOUT {  
    XG_PLANE_USAGE Usage;  
    UINT64 SizeBytes;  
    UINT64 SliceSizeBytes;  
    UINT64 BaseOffsetBytes;  
    UINT64 BaseAlignmentBytes;  
    UINT32 BytesPerElement;  
    UINT32 StandardMipCount;  
    UINT32 MipTailMipCount;  
    XG_MIPLEVEL_LAYOUT MipLayout[15];  
} XG_PLANE_LAYOUT  
```

### 成員

*Usage*\
類型：[XG\_PLANE\_USAGE](/zh-TW/reference/graphics/xg__NR/enums/xg_plane_usage)

平面使用方式，以 [XG\_PLANE\_USAGE](/zh-TW/reference/graphics/xg__NR/enums/xg_plane_usage) 列舉常數表示。

*SizeBytes*\
類型：UINT64

整個平面的大小 (以位元組為單位)。這包括所有陣列配量。

*SliceSizeBytes*\
類型：UINT64

單一 mip 鏈結的總大小，構成一個陣列配量。

*BaseOffsetBytes*\
類型：UINT64

此平面相對於資源基底位址的位移 (以位元組為單位)。

*BaseAlignmentBytes*\
類型：UINT64

此平面起始處的對齊 (以位元組為單位)。

*BytesPerElement*\
類型：UINT32

此平面中材質像素元素的每個元素位元組數。

*StandardMipCount*\
類型：UINT32

不屬於封裝 mip 尾端的 mip 層級數目。

*MipTailMipCount*\
類型：UINT32

屬於封裝 mip 尾端的 mip 層級數目。

*MipLayout*\
類型：[XG\_MIPLEVEL\_LAYOUT](/zh-TW/reference/graphics/xg_xs/structs/xg_miplevel_layout_xs)\[15]

mip 層級配置，以 [XG\_MIPLEVEL\_LAYOUT](/zh-TW/reference/graphics/xg_xs/structs/xg_miplevel_layout_xs) 結構陣列表示。

## 備註

請注意，XG\_RESOURCE\_LAYOUT 中的 mip 計數是 XG\_PLANE\_LAYOUT 之 StandardMipCount 與 MipTailMipCount 成員的總和。

## 需求

**標頭:** xg\_xs.h
**支援的平台**: XBOX Series 主機

## 另請參閱

[XBOX Series X|S 的紋理配置與並排](https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/graphics/scarlett-tex-layouts)

[xg\_xs](/zh-TW/reference/graphics/xg_xs/xg_xs_members)


## Related topics

- [D3D12_ELEMENTS_LAYOUT (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/enums/d3d12_elements_layout_public.md)
- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
- [XBOX GDK 主機開發的 NDA 主題索引](/zh-TW/nda/nda-overview.md)
- [D3D12_BARRIER_SUBRESOURCE_RANGE (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/structs/d3d12_barrier_subresource_range_public.md)
- [D3D12_TEXTURE_BARRIER (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/structs/d3d12_texture_barrier_public.md)
