> ## 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_BARRIER_FLAGS (famille XBOX One)

> Indicateurs permettant de définir une barrière de ressource.

Indicateurs qui spécifient les paramètres de la barrière de ressource.

## Syntaxe

```cpp theme={null}
typedef enum D3D12_RESOURCE_BARRIER_FLAGS
{  
    D3D12_RESOURCE_BARRIER_FLAG_NONE = 0x0,  
    D3D12_RESOURCE_BARRIER_FLAG_BEGIN_ONLY = 0x1,  
    D3D12_RESOURCE_BARRIER_FLAG_END_ONLY = 0x2,  
    D3D12XBOX_RESOURCE_BARRIER_FLAG_PREVENT_PIPELINE_FLUSH = 0x00010000,  
} D3D12_RESOURCE_BARRIER_FLAGS  
```

## Constantes

| Constante | Description |
| - | - |
| D3D12\_RESOURCE\_BARRIER\_FLAG\_NONE | Aucun indicateur n'est défini. |
| D3D12\_RESOURCE\_BARRIER\_FLAG\_BEGIN\_ONLY | Démarre une transition de barrière vers un nouvel état. Cela place une ressource dans une condition temporaire d'absence d'accès. |
| D3D12\_RESOURCE\_BARRIER\_FLAG\_END\_ONLY | Termine une transition. Cela définit un nouvel état et rétablit l'accès actif à une ressource. |
| D3D12XBOX\_RESOURCE\_BARRIER\_FLAG\_PREVENT\_PIPELINE\_FLUSH | Empêche le vidage du pipeline. |

## Remarques

Le membre Flags de la structure [D3D12\_RESOURCE\_BARRIER](https://learn.microsoft.com/en-us/windows/desktop/api/d3d12/ns-d3d12-d3d12_resource_barrier) utilise cette énumération.

Le Microsoft Game Development Kit (GDK) pour XBOX One définit le membre d'extension **D3D12XBOX\_RESOURCE\_BARRIER\_FLAG\_PREVENT\_PIPELINE\_FLUSH**. Pour la version de cette énumération non spécifique à XBOX, consultez [D3D12\_RESOURCE\_BARRIER\_FLAGS](https://learn.microsoft.com/en-us/windows/desktop/api/d3d12/ne-d3d12-d3d12_resource_barrier_flags).

## Configuration requise

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

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

## Voir aussi

[d3d12\_x](/fr/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_BARRIER](/reference/graphics/d3d12/structs/d3d12_resource_barrier_public.md)
- [D3D12_TEXTURE_BARRIER (XBOX Series consoles)](/reference/graphics/d3d12/structs/d3d12_texture_barrier_public.md)
- [D3D12_RESOURCE_TRANSITION_BARRIER](/reference/graphics/d3d12/structs/d3d12_resource_transition_barrier_public.md)
- [D3D12_RESOURCE_BARRIER_TYPE](/reference/graphics/d3d12/enums/d3d12_resource_barrier_type_public.md)
