Expand Minimize

D3D10_DDI_VIEWPORT structure

The D3D10_DDI_VIEWPORT structure describes a viewport.

Syntax


typedef struct D3D10_DDI_VIEWPORT {
  FLOAT TopLeftX;
  FLOAT TopLeftY;
  FLOAT Width;
  FLOAT Height;
  FLOAT MinDepth;
  FLOAT MaxDepth;
} D3D10_DDI_VIEWPORT;

Members

TopLeftX

[in] A single-precision float vector for the top-left x-coordinate of the viewport.

TopLeftY

[in] A single-precision float vector for the top-left y-coordinate of the viewport.

Width

[in] A single-precision float vector for the width of the viewport.

Height

[in] A single-precision float vector for the height of the viewport.

MinDepth

[in] A single-precision float vector for the minimum depth of the viewport.

MaxDepth

[in] A single-precision float vector for the maximum depth of the viewport.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3d10umddi.h (include D3d10umddi.h)

See also

SetViewports

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft