D3DDDIARG_VIEWPORTINFO structure (d3dumddi.h)
The D3DDDIARG_VIEWPORTINFO structure describes the location and size of a view-clipping rectangle.
Syntax
typedef struct _D3DDDIARG_VIEWPORTINFO {
[in] UINT X;
[in] UINT Y;
[in] UINT Width;
[in] UINT Height;
} D3DDDIARG_VIEWPORTINFO;
Members
[in] X
The x coordinate, in screen coordinates, for the upper-left corner of the view-clipping rectangle.
[in] Y
The y coordinate, in screen coordinates, for the upper-left corner of the view-clipping rectangle.
[in] Width
The width, in screen coordinates, of the view-clipping rectangle where the application is rendering.
[in] Height
The height, in screen coordinates, of the view-clipping rectangle where the application is rendering.
Remarks
The user-mode display driver's SetViewport function should update the viewport portion of its internal rendering context with the location and size values that are specified in the D3DDDIARG_VIEWPORTINFO structure. The driver can use this information to perform guard band clipping.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Header | d3dumddi.h (include D3dumddi.h) |