D3D10_DDI_VIEWPORT structure (d3d10umddi.h)
The D3D10_DDI_VIEWPORT structure describes a viewport.
Syntax
typedef struct D3D10_DDI_VIEWPORT {
[in] FLOAT TopLeftX;
[in] FLOAT TopLeftY;
FLOAT Width;
[in] FLOAT Height;
[in] FLOAT MinDepth;
[in] FLOAT MaxDepth;
} D3D10_DDI_VIEWPORT;
Members
[in] TopLeftX
A single-precision float vector for the top-left x-coordinate of the viewport.
[in] TopLeftY
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.
[in] Height
A single-precision float vector for the height of the viewport.
[in] MinDepth
A single-precision float vector for the minimum depth of the viewport.
[in] MaxDepth
A single-precision float vector for the maximum depth of the viewport.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Header | d3d10umddi.h (include D3d10umddi.h) |