Bewerken

Delen via


PFND3D12DDI_PRESENT_0051 callback function (d3d12umddi.h)

The PFND3D12DDI_PRESENT_0051 callback function copies content from source allocations to a primary surface (and sometimes to off-screen system memory allocations).

Syntax

PFND3D12DDI_PRESENT_0051 Pfnd3d12ddiPresent0051;

void Pfnd3d12ddiPresent0051(
  D3D12DDI_HCOMMANDLIST unnamedParam1,
  D3D12DDI_HCOMMANDQUEUE unnamedParam2,
  const D3D12DDIARG_PRESENT_0001 *unnamedParam3,
  D3D12DDI_PRESENT_0051 *unnamedParam4,
  D3D12DDI_PRESENT_CONTEXTS_0051 *unnamedParam5,
  D3D12DDI_PRESENT_HWQUEUES_0051 *unnamedParam6
)
{...}

Parameters

unnamedParam1

A handle to the driver's data for the command list.

unnamedParam2

A handle the driver's data for the command queue.

unnamedParam3

Pointer to a D3D12DDIARG_PRESENT_0001 structure that contains arguments.

unnamedParam4

Pointer to a D3D12DDI_PRESENT_0051 structure that contains arguments for this callback.

unnamedParam5

Pointer to a D3D12DDI_PRESENT_CONTEXTS_0051 structure.

unnamedParam6

Pointer to a D3D12DDI_PRESENT_HWQUEUES_0051 structure.

Return value

None

Remarks

The PFND3D12DDI_PRESENT_0051 callback function split the output arguments into ones that are relevant for the command queue involved. For software scheduled command queues, the driver provides contexts. For hardware scheduled command queues, the driver provides hardware queues.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809
Header d3d12umddi.h