D3D12DDIARG_PRESENT_0001 structure (d3d12umddi.h)

Syntax

typedef struct D3D12DDIARG_PRESENT_0001 {
  const D3D12DDI_ARG_PRESENTSURFACE *phSurfacesToPresent;
  UINT                              SurfacesToPresent;
  D3D12DDI_HRESOURCE                hDstResource;
  UINT                              DstSubResourceIndex;
  DXGI_DDI_PRESENT_FLAGS            Flags;
  DXGI_DDI_FLIP_INTERVAL_TYPE       FlipInterval;
  D3DDDI_VIDEO_PRESENT_SOURCE_ID    VidPnSourceID;
  const RECT                        *pDirtyRects;
  UINT                              DirtyRects;
  UINT                              PrivateDriverDataSize;
  VOID                              *pPrivateDriverData;
  BOOL                              OptimizeForComposition;
} D3D12DDIARG_PRESENT_0001;

Members

phSurfacesToPresent

A array of surface handles to display or to release.

SurfacesToPresent

The surfaces to display or to release.

hDstResource

A handle to the destination resource to display to.

DstSubResourceIndex

The zero-based index into the destination resource, which is specified by the handle in the hDstResource member. This index indicates the subresource or surface to display to.

Flags

Identifies, in bit-field flags, how to display.

FlipInterval

Indicates the flip interval. That is, if the flip occurs after zero, one, two, three, or four vertical syncs.

VidPnSourceID

pDirtyRects

A pointer to an array of dirty rectangles, that indicate the portion of the overlay plane that has changed.

DirtyRects

The number of dirty rectangles in the array pointed to by pDirtyRects.

PrivateDriverDataSize

Private driver data size in bytes.

pPrivateDriverData

Private driver data.

OptimizeForComposition

DWM is involved in composition.

Requirements

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