PFND3D12DDI_RESOURCEBARRIER_0022 callback function (d3d12umddi.h)

The pfnResourceBarrier callback function supports resource barriers.

Syntax

PFND3D12DDI_RESOURCEBARRIER_0022 Pfnd3d12ddiResourcebarrier0022;

void Pfnd3d12ddiResourcebarrier0022(
  D3D12DDI_HCOMMANDLIST unnamedParam1,
  UINT Count,
  const D3D12DDIARG_RESOURCE_BARRIER_0022 *unnamedParam3
)
{...}

Parameters

unnamedParam1

hDrvCommandList

A handle to the driver's data for the command list. The driver uses this region of memory to store internal data structures that are related to its command list.

Count

Specifies a count.

unnamedParam3

ResourceBarrier [in]

A pointer to a resource barrier as a D3D12DDIARG_RESOURCE_BARRIER_0022 structure.

Return value

None

Remarks

Access this callback function by using a command list functions structure, such as the D3D12DDI_COMMAND_LIST_FUNCS_VIDEO_0020 structure.

Requirements

Requirement Value
Target Platform Windows
Header d3d12umddi.h (include D3d12umddi.h)

See also

D3D12DDIARG_RESOURCE_BARRIER_0022