D3DDDIARG_VIEWPORTINFO - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dumddi.h

typedef struct _D3DDDIARG_VIEWPORTINFO {
  [in] UINT X;
  [in] UINT Y;
  [in] UINT Width;
  [in] UINT Height;
} D3DDDIARG_VIEWPORTINFO;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3dumddi-_d3dddiarg_viewportinfo)

_D3DDDIARG_VIEWPORTINFO structure

Description

The D3DDDIARG_VIEWPORTINFO structure describes the location and size of a view-clipping rectangle.

Members

X [in]

The x coordinate, in screen coordinates, for the upper-left corner of the view-clipping rectangle.

Y [in]

The y coordinate, in screen coordinates, for the upper-left corner of the view-clipping rectangle.

Width [in]

The width, in screen coordinates, of the view-clipping rectangle where the application is rendering.

Height [in]

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.

See also

SetViewport