PFND3D12DDI_CALC_PRIVATE_META_COMMAND_SIZE_0052 callback function (d3d12umddi.h)

PFND3D12DDI_CALC_PRIVATE_META_COMMAND_SIZE_0052 calculates the private meta-command size.

Syntax

PFND3D12DDI_CALC_PRIVATE_META_COMMAND_SIZE_0052 Pfnd3d12ddiCalcPrivateMetaCommandSize0052;

SIZE_T Pfnd3d12ddiCalcPrivateMetaCommandSize0052(
  D3D12DDI_HDEVICE unnamedParam1,
  GUID CommandId,
  UINT NodeMask,
  const void *pCreationParameters,
  SIZE_T CreationParametersDataSizeInBytes
)
{...}

Parameters

unnamedParam1

A handle to the display device (graphics context).

CommandId

The command id.

NodeMask

The node mask of the command list.

pCreationParameters

Pointer to the creation parameters.

CreationParametersDataSizeInBytes

The size in bytes of the creation parameters that pCreationParameters points to.

Return value

Returns SIZE_T that describes the meta-command size, in bytes.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809
Header d3d12umddi.h