PFND3D12DDI_CALC_PRIVATE_COMMAND_POOL_SIZE_0040 callback function (d3d12umddi.h)

Calculates the size of the command pool for display.

Syntax

PFND3D12DDI_CALC_PRIVATE_COMMAND_POOL_SIZE_0040 Pfnd3d12ddiCalcPrivateCommandPoolSize0040;

SIZE_T Pfnd3d12ddiCalcPrivateCommandPoolSize0040(
  D3D12DDI_HDEVICE unnamedParam1,
  const D3D12DDIARG_CREATE_COMMAND_POOL_0040 *unnamedParam2
)
{...}

Parameters

unnamedParam1

A handle to the display device (graphics context).

unnamedParam2

A pointer to the D3D12DDIARG_CREATE_COMMAND_POOL_0040 structure that contains arguments to create a command pool.

Return value

Returns SIZE_T that represents the size of the command pool.

Requirements

Requirement Value
Header d3d12umddi.h