ID3D12VideoEncodeCommandList::SetPredication method (d3d12video.h)

Specifies that subsequent commands should not be performed if the predicate value passes the specified operation.

Syntax

void SetPredication(
  ID3D12Resource       *pBuffer,
  UINT64               AlignedBufferOffset,
  D3D12_PREDICATION_OP Operation
);

Parameters

pBuffer

A pointer to an ID3D12Resource representing the buffer from which to read the 64-bit predication value.

AlignedBufferOffset

The UINT64-aligned buffer offset.

Operation

A member of the D3D12_PREDICATION_OP enumeration specifying the predicate operation.

Return value

None

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