Package com.ms.com.directX |
![]() Previous |
![]() Microsoft Packages |
![]() Index |
![]() Next |
public final class d3dViewportStruc { public int dwSize; public int dwX; public int dwY; public int dwWidth; public int dwHeight; public float dvScaleX; public float dvScaleY; public float dvMaxX; public float dvMaxY; public float dvMinZ; public float dvMaxZ; }
Defines the visible 3D volume and the 2D screen area that a 3D volume projects onto for the GetViewport and SetViewport methods.
When the viewport is changed, the driver builds a new transformation matrix.
The coordinates and dimensions of the viewport are given relative to the top left of the device.
See also d3dViewport.
Fields