Edit

Share via


D3D12DDIARG_CREATECOMMANDALLOCATOR structure (d3d12umddi.h)

The D3D12DDIARG_CREATECOMMANDALLOCATOR structure describes a command allocator to create.

Syntax

typedef struct D3D12DDIARG_CREATECOMMANDALLOCATOR {
  D3D12DDI_HCOMMANDALLOCATOR   hDrvCommandAllocator;
  D3D12DDI_COMMAND_LIST_TYPE   Type;
  D3D12DDI_COMMAND_QUEUE_FLAGS QueueFlags;
} D3D12DDIARG_CREATECOMMANDALLOCATOR;

Members

hDrvCommandAllocator

Handle to associate with the command allocator. The driver must use this handle to identify the command allocator in subsequent calls to the driver.

Type

A D3D12DDI_COMMAND_LIST_TYPE value that specifies the type of command list associated with the command allocator.

QueueFlags

A D3D12DDI_COMMAND_QUEUE_FLAGS value that specifies the command queue flags associated with the command allocator.

Remarks

This structure is passed to the pfnCreateCommandAllocator function.

Requirements

Requirement Value
Minimum supported client Windows Vista (WDDM 1.0)
Header d3d12umddi.h

See also

D3D12DDI_COMMAND_LIST_TYPE

D3D12DDI_COMMAND_QUEUE_FLAGS

pfnCreateCommandAllocator