Bewerken

Delen via


DXGKARG_SETINTERRUPTTARGETPRESENTID structure (d3dkmddi.h)

The DXGKARG_SETINTERRUPTTARGETPRESENTID structure contains parameters for the driver's DXGKDDI_SETINTERRUPTTARGETPRESENTID callback function.

Syntax

typedef struct _DXGKARG_SETINTERRUPTTARGETPRESENTID {
  D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
  UINT                           LayerIndex;
  ULONGLONG                      InterruptTargetPresentId;
} DXGKARG_SETINTERRUPTTARGETPRESENTID;

Members

VidPnSourceId

[in] A D3DDDI_VIDEO_PRESENT_SOURCE_ID value that identifies the VidPn source ID of the hardware flip queue.

LayerIndex

[in] A zero-based index value that identifies the MPO plane index of the flip queue.

InterruptTargetPresentId

[in] Value that identifies the PresentId that is required to raise a corresponding VSync or HSync interrupt when it's completed. InterruptTargetPresentId can be one of the following values:

Value Meaning
UINT64_MAX No VSync interrupt is required going forward until the target present ID is changed again.
0 VSync interrupts are required for every interval regardless of whether any new flips are completed.
Any other value Interrupts are raised if the currently scanned PresentId >= InterruptTargetPresentId.

Remarks

See Specifying Vsync interrupt behavior for more information.

Requirements

Requirement Value
Minimum supported client Windows 11 (WDDM 3.0)
Header d3dkmddi.h

See also

DXGKDDI_SETINTERRUPTTARGETPRESENTID