ID3D12GraphicsCommandList7::Barrier method (d3d12.h)

Adds a collection of barriers into a graphics command list recording.

Requires the DirectX 12 Agility SDK 1.608 or later.

Syntax

void Barrier(
  UINT32                    NumBarrierGroups,
  const D3D12_BARRIER_GROUP *pBarrierGroups
);

Parameters

NumBarrierGroups

Number of barrier groups pointed to by pBarrierGroups.

pBarrierGroups

Pointer to an array of D3D12_BARRIER_GROUP objects.

Return value

None

Requirements

Requirement Value
Target Platform Windows
Header d3d12.h
Library D3d12.lib
DLL D3d12.dll