Bewerken

Delen via


PFND3D12DDI_SET_PREDICATION callback function (d3d12umddi.h)

The pfnSetPredication callback function denotes that subsequent video operations and resource manipulation commands are not actually performed if the resulting predicate data of the predicate is equal to the operation specified.

Syntax

PFND3D12DDI_SET_PREDICATION Pfnd3d12ddiSetPredication;

void Pfnd3d12ddiSetPredication(
  D3D12DDI_HCOMMANDLIST unnamedParam1,
  D3D12DDI_HRESOURCE unnamedParam2,
  UINT64 unnamedParam3,
  D3D12DDI_PREDICATION_OP unnamedParam4
)
{...}

Parameters

unnamedParam1

hCommandList

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.

unnamedParam2

hResource

The handle of a resource.

unnamedParam3

unnamedParam4

PredicationOp

A predication operation. For more information, see the D3D12DDI_PREDICATION_OP enumeration.

Return value

None

Requirements

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

See also

D3D12DDI_PREDICATION_OP