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

> Représente la dimensionnalité d'une texture.

Représente la dimensionnalité d'une texture.

## Syntaxe

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

## Constantes

| Constante | Description |
| - | - |
| XBTC\_TEX\_DIMENSION\_1D | Texture 1D ou mémoire tampon |
| XBTC\_TEX\_DIMENSION\_2D | Texture 2D ou tableau de textures |
| XBTC\_TEX\_DIMENSION\_3D | Texture 3D (volume) |
| XBTC\_TEX\_DIMENSION\_CUBE | Cube map ou tableau de cube maps |

## Remarques

`XBTC_TEX_DIMENSION` permet de définir les dimensions de la texture.

La fonction [XBTCCreateLinearTexture](/fr/reference/graphics/xbtc/functions/xbtccreatelineartexture) utilise cette énumération.

Pour plus d'informations sur les archives XBTC, consultez [XBOX Texture Compressor (XBTC)](https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/graphics/newfeatures/xbtc/xbox-texture-compressor).

## Configuration requise

**En-tête :** XBTC.h

**Plateformes prises en charge** : consoles de la famille XBOX One et consoles XBOX Series

## Voir aussi

[XBTCCreateLinearTexture](/fr/reference/graphics/xbtc/functions/xbtccreatelineartexture)
[XBTC](/fr/reference/graphics/xbtc/xbtc_members)


## Related topics

- [NDA topic directory - live Microsoft Learn links](/nda/nda-topic-directory.md)
- [XBOX Texture Compressor (XBTC) tool reference](/build/core-features/graphics/newfeatures/xbtc/index.md)
- [XBOX Texture Compressor (XBTC) 도구 참고서](/ko/build/core-features/graphics/newfeatures/xbtc/index.md)
- [XBOX Texture Compressor (XBTC) 工具参考](/zh-CN/build/core-features/graphics/newfeatures/xbtc/index.md)
- [Referencia de la herramienta XBOX Texture Compressor (XBTC)](/es/build/core-features/graphics/newfeatures/xbtc/index.md)
