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

# Barrier (XBOX Series 本体)

> グラフィックス コマンド リストの記録にバリアのコレクションを追加します。

グラフィックス コマンド リストの記録にバリアのコレクションを追加します。

DirectX 12 Agility SDK 1.7 以降が必要です。

## 構文

```cpp theme={null}
void Barrier(
    UINT32 NumBarrierGroups,
    const D3D12_BARRIER_GROUP  pBarrierGroups
)
```

### パラメーター

*NumBarrierGroups*\
型: UINT32

*pBarrierGroups* が指すバリア グループの数。

*pBarrierGroups*\
型: const D3D12\_BARRIER\_GROUP \*

[D3D12\_BARRIER\_GROUP](/reference/graphics/d3d12/structs/d3d12_barrier_group_public) オブジェクトの配列へのポインター。

### 戻り値

型: void

なし。

## 解説

## 要件

**ヘッダー:** d3d12\_xs.h\
**ライブラリ:** d3d12\_xs.lib\
**サポートされているプラットフォーム**: XBOX Series 本体

## 関連項目


## Related topics

- [D3D12_TEXTURE_BARRIER (XBOX Series 本体)](/ja-jp/reference/graphics/d3d12/structs/d3d12_texture_barrier_public.md)
- [D3D12_BARRIER_GROUP (XBOX Series consoles)](/ja-jp/reference/graphics/d3d12/structs/d3d12_barrier_group_public.md)
- [D3D12_BUFFER_BARRIER (XBOX Series consoles)](/ja-jp/reference/graphics/d3d12/structs/d3d12_buffer_barrier_public.md)
- [D3D12_GLOBAL_BARRIER (XBOX Series consoles)](/ja-jp/reference/graphics/d3d12/structs/d3d12_global_barrier_public.md)
- [D3D12_BARRIER_SUBRESOURCE_RANGE (XBOX Series consoles)](/ja-jp/reference/graphics/d3d12/structs/d3d12_barrier_subresource_range_public.md)
