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

# XBTC_TEX_DIMENSION

> 代表紋理的維度。

代表紋理的維度。

## 語法

```cpp theme={null}
enum XBTC_TEX_DIMENSION    
{  
    XBTC_TEX_DIMENSION_1D,  
    XBTC_TEX_DIMENSION_2D,  
    XBTC_TEX_DIMENSION_3D,  
    XBTC_TEX_DIMENSION_CUBE  
}  
```

## 常數

| 常數 | 描述 |
| - | - |
| XBTC\_TEX\_DIMENSION\_1D | 1D 紋理或緩衝區 |
| XBTC\_TEX\_DIMENSION\_2D | 2D 紋理或紋理陣列 |
| XBTC\_TEX\_DIMENSION\_3D | 3D (體積) 紋理 |
| XBTC\_TEX\_DIMENSION\_CUBE | 立方體貼圖或立方體貼圖陣列 |

## 備註

`XBTC_TEX_DIMENSION` 用來設定紋理的維度。

[XBTCCreateLinearTexture](/zh-TW/reference/graphics/xbtc/functions/xbtccreatelineartexture) 函式會使用此列舉。

如需 XBTC 封存的詳細資訊，請參閱 [XBOX Texture Compressor (XBTC)](https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/graphics/newfeatures/xbtc/xbox-texture-compressor)。

## 需求

**標頭:** XBTC.h

**支援的平台**: XBOX One 系列主機與 XBOX Series 主機

## 另請參閱

[XBTCCreateLinearTexture](/zh-TW/reference/graphics/xbtc/functions/xbtccreatelineartexture)
[XBTC](/zh-TW/reference/graphics/xbtc/xbtc_members)


## Related topics

- [XBOX Texture Compressor (XBTC) 工具參考](/zh-TW/build/core-features/graphics/newfeatures/xbtc/index.md)
- [D3D12_UAV_DIMENSION](/zh-TW/reference/graphics/d3d12/enums/d3d12_uav_dimension_public.md)
- [D3D12_DSV_DIMENSION](/zh-TW/reference/graphics/d3d12/enums/d3d12_dsv_dimension_public.md)
- [D3D12_RTV_DIMENSION](/zh-TW/reference/graphics/d3d12/enums/d3d12_rtv_dimension_public.md)
- [XFrontPanelGetScreenDimensions](/zh-TW/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelgetscreendimensions.md)
