// d3d12umddi.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
phSurfacesToPresentA array of surface handles to display or to release.
SurfacesToPresentThe surfaces to display or to release.
hDstResourceA handle to the destination resource to display to.
DstSubResourceIndexThe 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.
FlagsIdentifies, in bit-field flags, how to display.
FlipIntervalIndicates the flip interval. That is, if the flip occurs after zero, one, two, three, or four vertical syncs.
VidPnSourceIDpDirtyRectsA pointer to an array of dirty rectangles, that indicate the portion of the overlay plane that has changed.
DirtyRectsThe number of dirty rectangles in the array pointed to by pDirtyRects.
PrivateDriverDataSizePrivate driver data size in bytes.
pPrivateDriverDataPrivate driver data.
OptimizeForCompositionDWM is involved in composition.