// dxgiddi.h
typedef struct DXGI_DDI_MULTIPLANE_OVERLAY_ATTRIBUTES {
UINT Flags;
RECT SrcRect;
RECT DstRect;
RECT ClipRect;
DXGI_DDI_MODE_ROTATION Rotation;
DXGI_DDI_MULTIPLANE_OVERLAY_BLEND Blend;
UINT DirtyRectCount;
RECT *pDirtyRects;
UINT NumFilters;
void *pFilters;
DXGI_DDI_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT VideoFrameFormat;
UINT YCbCrFlags;
DXGI_DDI_MULTIPLANE_OVERLAY_STEREO_FORMAT StereoFormat;
BOOL StereoLeftViewFrame0;
BOOL StereoBaseViewFrame0;
DXGI_DDI_MULTIPLANE_OVERLAY_STEREO_FLIP_MODE StereoFlipMode;
DXGI_DDI_MULTIPLANE_OVERLAY_STRETCH_QUALITY StretchQuality;
} DXGI_DDI_MULTIPLANE_OVERLAY_ATTRIBUTES;
View the official Windows Driver Kit DDI referenceNo description available.
Used by the user-mode display driver to specify overlay plane attributes.
FlagsSpecifies a flip operation as one of the applicable values in the DXGI_DDI_MULTIPLANE_OVERLAY_FLAGS enumeration.
SrcRectSpecifies the source rectangle, of type RECT, relative to the source resource.
DstRectSpecifies the destination rectangle, of type RECT, relative to the monitor resolution.
ClipRectSpecifies any additional clipping, of type RECT, relative to the DstRect rectangle, after the data has been stretched according to the values of SrcRect and DstRect.
The driver and hardware can use the ClipRect member to apply a common stretch factor as the clipping changes when an app occludes part of the DstRect destination rectangle.
RotationSpecifies the clockwise rotation of the overlay plane, given as a value from the DXGI_DDI_MODE_ROTATION enumeration.
BlendSpecifies the blend mode that applies to this overlay plane and the plane beneath it, given as a value from the DXGI_DDI_MULTIPLANE_OVERLAY_BLEND enumeration.
DirtyRectCountThe number of dirty rectangles specified for the overlay plane. If zero, the entire plane is considered dirty.
pDirtyRectsA pointer to an array of dirty rectangles (RECTs), relative to the source rectangle SrcRect, that indicate the portion of the overlay plane that has changed.
The driver can use this member to perform optimizations, though it's not required to use the dirty rectangle info. However, the driver should never fail a function call based on the provided dirty rectangles.
NumFiltersOptionally specifies the number of filters that the driver and hardware implement on the overlay plane. Note that the operating system ignores this member.
pFiltersAn optional pointer to a buffer that specifies the filters that the driver and hardware implement on the overlay plane. Note that the operating system ignores this member.
VideoFrameFormatSpecifies the overlay plane's video frame format, given as a value from the DXGI_DDI_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT enumeration.
Note This value must always be DXGI_DDI_MULIIPLANE_OVERLAY_VIDEO_FRAME_FORMAT_PROGRESSIVE. The operating system does not support the other enumeration values.
YCbCrFlagsSpecifies YUV range and conversion info as one of the applicable values in the DXGI_DDI_MULTIPLANE_OVERLAY_YCbCr_FLAGS enumeration.
StereoFormatSpecifies the overlay plane's video frame format, given as a value from the DXGI_DDI_MULTIPLANE_OVERLAY_STEREO_FORMAT enumeration.
Note This value must always be DXGI_DDI_MULTIPLANE_OVERLAY_STEREO_FORMAT_MONO. The operating system does not support the other enumeration values.
StereoLeftViewFrame0Reserved for system use. Must always be FALSE.
StereoBaseViewFrame0Reserved for system use. Must always be FALSE.
StereoFlipModeSpecifies the overlay plane's stereo flip mode, given as a value from the DXGI_DDI_MULTIPLANE_OVERLAY_STEREO_FLIP_MODE enumeration.
Note This value must always be DXGI_DDI_MULTIPLANE_OVERLAY_STEREO_FLIP_NONE. The operating system does not support the other enumeration values.
StretchQualitySpecifies the overlay plane's stretch quality, given as a value from the DXGI_DDI_MULTIPLANE_OVERLAY_STRETCH_QUALITY enumeration.
DXGI_DDI_MULTIPLANE_OVERLAY_BLEND
DXGI_DDI_MULTIPLANE_OVERLAY_FLAGS
DXGI_DDI_MULTIPLANE_OVERLAY_STEREO_FLIP_MODE
DXGI_DDI_MULTIPLANE_OVERLAY_STEREO_FORMAT
DXGI_DDI_MULTIPLANE_OVERLAY_STRETCH_QUALITY
DXGI_DDI_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT
DXGI_DDI_MULTIPLANE_OVERLAY_YCbCr_FLAGS