D3DKMT_SUBMITCOMMANDTOHWQUEUE structure (d3dkmthk.h)

A structure that holds information to submit a command to the hardware queue.

Syntax

typedef struct _D3DKMT_SUBMITCOMMANDTOHWQUEUE {
  D3DKMT_HANDLE                         hHwQueue;
  D3DKMT_ALIGN64 UINT64                 HwQueueProgressFenceId;
  D3DKMT_ALIGN64 D3DGPU_VIRTUAL_ADDRESS CommandBuffer;
  UINT                                  CommandLength;
  UINT                                  PrivateDriverDataSize;
  VOID                                  *pPrivateDriverData;
  UINT                                  NumPrimaries;
  D3DKMT_HANDLE const                   *WrittenPrimaries;
} D3DKMT_SUBMITCOMMANDTOHWQUEUE;

Members

hHwQueue

Context queue to submit the command to.

HwQueueProgressFenceId

Hardware queue progress fence value that will be signaled once the command is finished.

CommandBuffer

GPU VA of the command buffer to be executed on the GPU.

CommandLength

Length in bytes of the command buffer.

PrivateDriverDataSize

Size of private driver data in bytes.

pPrivateDriverData

Pointer to a buffer that contains optional private driver data.

NumPrimaries

The number of primaries written by this command buffer.

WrittenPrimaries

The array of primaries written by this command buffer.

Requirements

Requirement Value
Header d3dkmthk.h