ID3D12VideoEncodeCommandList::WriteBufferImmediate method (d3d12video.h)

Writes a number of 32-bit immediate values to the specified buffer locations directly from the command stream.

Syntax

void WriteBufferImmediate(
  UINT                                       Count,
  const D3D12_WRITEBUFFERIMMEDIATE_PARAMETER *pParams,
  const D3D12_WRITEBUFFERIMMEDIATE_MODE      *pModes
);

Parameters

Count

The number of elements in the pParams and pModes arrays.

pParams

The address of an array of D3D12_WRITEBUFFERIMMEDIATE_PARAMETER structures of size Count.

pModes

The address of an array of D3D12_WRITEBUFFERIMMEDIATE_MODE structures of size Count. The default value is null. Passing null causes the system to write all immediate values using D3D12_WRITEBUFFERIMMEDIATE_MODE_DEFAULT.

Return value

None

Remarks

The capability for this feature is specified with D3D12_FEATURE_DATA_D3D12_OPTIONS3::WriteBufferImmediateSupportFlags

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