PFND3D12DDI_CREATECOMMANDALLOCATOR callback function (d3d12umddi.h)

Creates a command allocator.

Syntax

PFND3D12DDI_CREATECOMMANDALLOCATOR Pfnd3d12ddiCreatecommandallocator;

HRESULT Pfnd3d12ddiCreatecommandallocator(
  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 HRESULT.

Requirements

Requirement Value
Header d3d12umddi.h