ID3D12VideoEncodeCommandList::ResourceBarrier method (d3d12video.h)

Notifies the driver that it needs to synchronize multiple accesses to resources.

Syntax

void ResourceBarrier(
  UINT                         NumBarriers,
  const D3D12_RESOURCE_BARRIER *pBarriers
);

Parameters

NumBarriers

Type: UINT

The number of submitted barrier descriptions.

pBarriers

Type: const D3D12_RESOURCE_BARRIER*

Pointer to an array of barrier descriptions.

Return value

None

Remarks

This method returns void.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004 (10.0; Build 19041)
Minimum supported server Windows Server, version 2004 (10.0; Build 19041)
Header d3d12video.h
DLL d3d12.dll