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

> 描述紋理硬體配置的 Swizzle 模式。

描述紋理硬體配置的 Swizzle 模式。

## 語法

```cpp theme={null}
typedef struct XG_SWIZZLE_PATTERN_INFO {  
    UINT32 EquationIndex;
    UINT32 BlockWidth;
    UINT32 BlockHeight;
    UINT32 BlockSlices;
} XG_SWIZZLE_PATTERN_INFO  
```

### 成員

*EquationIndex*\
類型：UINT32

Swizzle 模式方程式的索引 (目前僅供內部使用)。

*BlockWidth*\
類型：UINT32

Swizzle 區塊的寬度 (以元素為單位)。

*BlockHeight*\
類型：UINT32

Swizzle 區塊的高度 (以元素為單位)。

*BlockSlices*\
類型：UINT32

Swizzle 區塊的深度。

## 備註

此結構是使用 [GetSwizzlePatternInfo](/zh-TW/reference/graphics/xg_xs/interfaces/XGTextureAddressComputer/methods/xgtextureaddresscomputer_getswizzlepatterninfo_xs) 函式填入。

*EquationIndex* 是內部資料結構的索引，該資料結構目前未
在 API 中公開。

## 需求

**標頭:** xg\_xs.h\
**支援的平台**: \{% term scarlett-family %}

## 另請參閱

[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

- [NDA topic directory - live Microsoft Learn links](/nda/nda-topic-directory.md)
- [NDA 主题目录 - Microsoft Learn 在线链接](/zh-CN/nda/nda-topic-directory.md)
- [Répertoire des rubriques NDA : liens actifs vers Microsoft Learn](/fr-CA/nda/nda-topic-directory.md)
- [Diretório de tópicos NDA: links ativos do Microsoft Learn](/pt-BR/nda/nda-topic-directory.md)
- [Directorio de temas NDA: enlaces activos a Microsoft Learn](/es/nda/nda-topic-directory.md)
