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

> xg_xs.h 的參考主題。

## 列舉

| 列舉 | 描述 |
| - | - |
| [XG\_DCC\_COMPRESSION\_LEVEL](/zh-TW/reference/graphics/xg_xs/enums/xg_dcc_compression_level_xs) | 建立差異色彩壓縮 (DCC) 單位大小上限。 |
| [XG\_HARDWARE\_VERSION](/zh-TW/reference/graphics/xg_xs/enums/xg_hardware_version_xs) | 代表 XBOX One 系列裝置中的不同硬體版本。 |
| [XG\_SUGGEST\_SWIZZLE\_MODE\_FLAGS](/zh-TW/reference/graphics/xg_xs/enums/xg_suggest_swizzle_mode_flags) | 影響 Swizzle 模式選取的旗標。 |
| [XG\_SWIZZLE\_MODE](/zh-TW/reference/graphics/xg_xs/enums/xg_swizzle_mode) | 選取紋理 Swizzle 模式的 Swizzle 模式列舉。 |
| [XG\_TEXTURE\_LAYOUT](/zh-TW/reference/graphics/xg_xs/enums/xg_texture_layout_xs) | 指定紋理配置的選項。在 XBOX 上，此列舉包含 XBOX 延伸成員。 |

## 函式

| 函式 | 描述 |
| - | - |
| [XGComputeOptimalDepthStencilSwizzleMode](/zh-TW/reference/graphics/xg_xs/functions/xgcomputeoptimaldepthstencilswizzlemode) | 計算指定深度樣板設定的正確 Swizzle 模式。 |
| [XGComputeOptimalSwizzleMode](/zh-TW/reference/graphics/xg_xs/functions/xgcomputeoptimalswizzlemode) | 計算指定紋理設定的頻寬最佳 Swizzle 模式。 |
| [XGConvertExtensionTextureLayoutToSwizzleMode](/zh-TW/reference/graphics/xg_xs/functions/xgconvertextensiontexturelayouttoswizzlemode) | 將 XBOX 延伸 XG\_TEXTURE\_LAYOUT 值轉換為對等的 XG\_SWIZZLE\_MODE 值。 |
| [XGConvertSwizzleModeToExtensionTextureLayout](/zh-TW/reference/graphics/xg_xs/functions/xgconvertswizzlemodetoextensiontexturelayout) | 將 XG\_SWIZZLE\_MODE 值轉換為對等的延伸 XG\_TEXTURE\_LAYOUT 值。 |
| [XGCreateBVHComputer](/zh-TW/reference/graphics/xg_xs/functions/xgcreatebvhcomputer_xs) | 建立用來解壓縮及還原序列化 BVH 的 BVH 計算器 |
| [XGCreateBVHComputer2](/zh-TW/reference/graphics/xg_xs/functions/xgcreatebvhcomputer2_xs) | 建立用來解壓縮及還原序列化 BVH 的 BVH 計算器 |
| [XGDecodeDCC](/zh-TW/reference/graphics/xg_xs/functions/xgdecodedcc_xs) | 解碼 (解壓縮) 差異色彩壓縮的表面。 |
| [XGEncodeDCC](/zh-TW/reference/graphics/xg_xs/functions/xgencodedcc_xs) | 使用差異色彩壓縮 (DCC) 編碼 (壓縮) 表面。 |
| [XGInitializeLibrary](/zh-TW/reference/graphics/xg_xs/functions/xginitializelibrary_xs) | 在 XG\_XS 內執行全域狀態的一次性配置與初始化。 |
| [XGSuggestSwizzleMode](/zh-TW/reference/graphics/xg_xs/functions/xgsuggestswizzlemode) | 計算指定資源描述的正確 Swizzle 模式。 |
| [XGTerminateLibrary](/zh-TW/reference/graphics/xg_xs/functions/xgterminatelibrary_xs) | 解除配置 XG\_XS 內的全域狀態。 |
| [XGValidateDepthStencilSwizzleMode](/zh-TW/reference/graphics/xg_xs/functions/xgvalidatedepthstencilswizzlemode) | 檢查指定的 Swizzle 模式對於深度樣板格式和取樣計數是否有效。 |
| XGShuffleTextureBufferForDirectStorage | 移動紋理內的區塊壓縮資料，以提升可壓縮性。 |

## 介面

| 介面 | 描述 |
| - | - |
| [XGBVHComputer](/zh-TW/reference/graphics/xg_xs/interfaces/XGBVHComputer/xgbvhcomputer_xs) | 提供用於還原序列化及解壓縮光線追蹤加速結構 (亦即 BVH) 的介面。 |
| [XGTextureAddressComputer](/zh-TW/reference/graphics/xg_xs/interfaces/XGTextureAddressComputer/xgtextureaddresscomputer_xs) | 保存指定紋理資源的已計算紋理配置。也保存可讓使用者執行紋理元素 Swizzle 的其他狀態。 |

## 結構

| 結構 | 描述 |
| - | - |
| [XG\_BUFFER\_DESC](/zh-TW/reference/graphics/xg_xs/structs/xg_buffer_desc_xs) | 使用 Direct3D 11 樣式的結構描述緩衝區資源。 |
| [XG\_MIPLEVEL\_LAYOUT](/zh-TW/reference/graphics/xg_xs/structs/xg_miplevel_layout_xs) | 描述紋理硬體配置中的單一 mip 層級。 |
| [XG\_PLANE\_LAYOUT](/zh-TW/reference/graphics/xg_xs/structs/xg_plane_layout_xs) | 描述紋理硬體配置中的 mip 鏈結或中繼資料表面。 |
| [XG\_SWIZZLE\_PATTERN\_INFO](/zh-TW/reference/graphics/xg_xs/structs/xg_swizzle_pattern_info) | 描述硬體紋理配置的 Swizzle 模式。 |
| [XG\_TEXTURE1D\_DESC](/zh-TW/reference/graphics/xg_xs/structs/xg_texture1d_desc_xs) | 為 XG 紋理配置 API 描述 1D 紋理。 |
| [XG\_TEXTURE2D\_DESC](/zh-TW/reference/graphics/xg_xs/structs/xg_texture2d_desc_xs) | 為 XG 紋理配置 API 描述 2D 紋理。 |
| [XG\_TEXTURE3D\_DESC](/zh-TW/reference/graphics/xg_xs/structs/xg_texture3d_desc_xs) | 為 XG 紋理配置 API 描述 3D 紋理。 |


## Related topics

- [NDA topics index for XBOX GDK console development](/nda/nda-overview.md)
- [XBOX GDK 主机开发 NDA 主题索引](/zh-CN/nda/nda-overview.md)
- [Índice de temas de NDA para el desarrollo de consolas con el GDK de XBOX](/es/nda/nda-overview.md)
- [XBOX GDK 콘솔 개발용 NDA 주제 색인](/ko/nda/nda-overview.md)
- [XBOX GDK コンソール開発向け NDA トピック インデックス](/ja-jp/nda/nda-overview.md)
