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

# D3D12_RESOURCE_DIMENSION (famille XBOX One)

> Identifie le type de la ressource utilisée.

Identifie le type de la ressource utilisée.

## Syntaxe

```cpp theme={null}
typedef enum D3D12_RESOURCE_DIMENSION    
{  
    D3D12_RESOURCE_DIMENSION_UNKNOWN = 0,  
    D3D12_RESOURCE_DIMENSION_BUFFER = 1,  
    D3D12_RESOURCE_DIMENSION_TEXTURE1D = 2,  
    D3D12_RESOURCE_DIMENSION_TEXTURE2D = 3,  
    D3D12_RESOURCE_DIMENSION_TEXTURE3D = 4,  
} D3D12_RESOURCE_DIMENSION  
```

## Constantes

| Constante | Description |
| - | - |
| D3D12\_RESOURCE\_DIMENSION\_UNKNOWN | La ressource est d'un type inconnu. |
| D3D12\_RESOURCE\_DIMENSION\_BUFFER | La ressource est une mémoire tampon. |
| D3D12\_RESOURCE\_DIMENSION\_TEXTURE1D | La ressource est une texture 1D. |
| D3D12\_RESOURCE\_DIMENSION\_TEXTURE2D | La ressource est une texture 2D. |
| D3D12\_RESOURCE\_DIMENSION\_TEXTURE3D | La ressource est une texture 3D. |

## Configuration requise

**En-tête :** d3d12\_x.h

**Plateformes prises en charge :** famille XBOX One

## Voir aussi

[d3d12\_x](/fr-CA/reference/graphics/d3d12_x/d3d12_x_members)


## Related topics

- [Répertoire des rubriques NDA : liens actifs vers Microsoft Learn](/fr-CA/nda/nda-topic-directory.md)
- [D3D12_RESOURCE_DESC1](/reference/graphics/d3d12/structs/d3d12_resource_desc1_public.md)
- [D3D12_RTV_DIMENSION](/reference/graphics/d3d12/enums/d3d12_rtv_dimension_public.md)
- [D3D12_UAV_DIMENSION](/reference/graphics/d3d12/enums/d3d12_uav_dimension_public.md)
- [D3D12_DSV_DIMENSION](/reference/graphics/d3d12/enums/d3d12_dsv_dimension_public.md)
