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

> Description d'un objet d'état. Passez cette structure à ID3D12Device::CreateStateObject.

Description d'un objet d'état. Passez une valeur de ce type de structure à [ID3D12Device5::CreateStateObject](/fr/reference/graphics/d3d12/interfaces/id3d12device5/methods/id3d12device5_createstateobject_public).

## Syntaxe

```cpp theme={null}
typedef struct D3D12_STATE_OBJECT_DESC
{
    D3D12_STATE_OBJECT_TYPE Type;
    UINT NumSubobjects;
    const D3D12_STATE_SUBOBJECT  pSubobjects;
} D3D12_STATE_OBJECT_DESC
```

### Membres

*Type*\
Type : D3D12\_STATE\_OBJECT\_TYPE

Type de l'objet d'état.

*NumSubobjects*\
Type : UINT

Taille du tableau <i>pSubobjects</i>.

*pSubobjects*\
Type : const D3D12\_STATE\_SUBOBJECT \*

Tableau de définitions de sous-objets.

## Configuration requise

**En-tête :** d3d12\_xs.h ou d3d12\_x.h\
**Bibliothèque :** d3d12\_xs.lib ou d3d12\_x.lib\
**Plateformes prises en charge :** consoles XBOX Series et famille XBOX One


## Related topics

- [D3D12_STATE_OBJECT_TYPE](/fr/reference/graphics/d3d12/enums/d3d12_state_object_type_public.md)
- [D3D12_STATE_SUBOBJECT](/fr/reference/graphics/d3d12/structs/d3d12_state_subobject_public.md)
- [D3D12_STATE_SUBOBJECT_TYPE](/fr/reference/graphics/d3d12/enums/d3d12_state_subobject_type_public.md)
- [D3D12_EXISTING_COLLECTION_DESC (consoles XBOX Series)](/fr/reference/graphics/d3d12/structs/d3d12_existing_collection_desc_public.md)
- [D3D12_STATE_OBJECT_CONFIG](/fr/reference/graphics/d3d12/structs/d3d12_state_object_config_public.md)
