// d3dkmddi.h
typedef struct _DXGK_MULTIPLANE_OVERLAY_POST_COMPOSITION {
DXGK_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS Flags;
RECT SrcRect;
RECT DstRect;
D3DDDI_ROTATION Rotation;
} DXGK_MULTIPLANE_OVERLAY_POST_COMPOSITION;
View the official Windows Driver Kit DDI referenceNo description available.
Specifies information about any additional transforms that should occur after the planes are composed.
FlagsA DXGK_MULTIPLANE_OVERLAY_POST_COMPOSITION_FLAGS structure indicating additional transform information.
SrcRectContains the source rect of the virtual mode.
DstRectContains the destination rect of the virtual mode.
RotationIndicates additional rotation that should occur on the final image.
The source mode contains the virtual mode size and the destination rectangle indicates how the virtual mode maps to the physical mode.
For example, if a 1024x768 virtual mode is used with 1920x1080 physical mode, the following configurations are possible:
Stretch mode:
Centered mode:
Aspect ratio stretched: