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

> Décrit une métacommande.

Décrit une métacommande.

## Syntaxe

```cpp theme={null}
typedef struct D3D12_META_COMMAND_DESC
{
    GUID Id;
    LPCWSTR Name;
    D3D12_GRAPHICS_STATES InitializationDirtyState;
    D3D12_GRAPHICS_STATES ExecutionDirtyState;
} D3D12_META_COMMAND_DESC
```

### Membres

*Id*\
Type : GUID

Un [GUID](https://learn.microsoft.com/en-us/windows/win32/api/guiddef/ns-guiddef-guid) qui identifie de façon unique la métacommande.

*Name*\
Type : LPCWSTR

Le nom de la métacommande.

*InitializationDirtyState*\
Type : D3D12\_GRAPHICS\_STATES

Déclare les états de la liste de commandes qui sont modifiés par l'appel d'initialisation de la métacommande. Si tous les bits d'état sont définis, cela équivaut à appeler [ID3D12GraphicsCommandList::ClearState](/fr-CA/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_clearstate_public).

*ExecutionDirtyState*\
Type : D3D12\_GRAPHICS\_STATES

Déclare les états de la liste de commandes qui sont modifiés par l'appel d'exécution de la métacommande. Si tous les bits d'état sont définis, cela équivaut à appeler [ID3D12GraphicsCommandList::ClearState](/fr-CA/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_clearstate_public).

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

- [EnumerateMetaCommands (consoles XBOX Series)](/fr-CA/reference/graphics/d3d12/interfaces/id3d12device5/methods/id3d12device5_enumeratemetacommands_public.md)
- [D3D12_META_COMMAND_PARAMETER_DESC](/fr-CA/reference/graphics/d3d12/structs/d3d12_meta_command_parameter_desc_public.md)
- [D3D12_META_COMMAND_PARAMETER_STAGE](/fr-CA/reference/graphics/d3d12/enums/d3d12_meta_command_parameter_stage_public.md)
- [D3D12_META_COMMAND_PARAMETER_TYPE](/fr-CA/reference/graphics/d3d12/enums/d3d12_meta_command_parameter_type_public.md)
- [D3D12_META_COMMAND_PARAMETER_FLAGS](/fr-CA/reference/graphics/d3d12/enums/d3d12_meta_command_parameter_flags_public.md)
