PFND3D12DDI_CALCPRIVATECOMMANDALLOCATORSIZE callback function (d3d12umddi.h)

Calculates private command allocator size.

Syntax

PFND3D12DDI_CALCPRIVATECOMMANDALLOCATORSIZE Pfnd3d12ddiCalcprivatecommandallocatorsize;

SIZE_T Pfnd3d12ddiCalcprivatecommandallocatorsize(
  D3D12DDI_HDEVICE unnamedParam1,
  const D3D12DDIARG_CREATECOMMANDALLOCATOR *unnamedParam2
)
{...}

Parameters

unnamedParam1

A handle to the display device (graphics context).

unnamedParam2

Pointer to a D3D12DDIARG_CREATECOMMANDALLOCATOR structure.

Return value

Returns SIZE_T.

Requirements

Requirement Value
Header d3d12umddi.h