Skip to main content
Adds a collection of barriers into a graphics command list recording. Requires the DirectX 12 Agility SDK 1.7 or later.

Syntax

Parameters

NumBarrierGroups
Type: UINT32
Number of barrier groups pointed to by pBarrierGroups. pBarrierGroups
Type: const D3D12_BARRIER_GROUP *
Pointer to an array of D3D12_BARRIER_GROUP objects.

Return value

Type: void None.

Remarks

Requirements

Header: d3d12_xs.h
Library: d3d12_xs.lib
Supported Platforms: XBOX Series consoles

See Also

Last modified on August 20, 2026