Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

ID3D10Device::RSGetViewports method

Get the array of viewports bound to the rasterizer stage

Syntax


void RSGetViewports(
  [in, out] UINT           *NumViewports,
  [out]     D3D10_VIEWPORT *pViewports
);

Parameters

NumViewports [in, out]

Type: UINT*

Number of viewports in pViewports. If pViewports is NULL, this will be filled with the number of viewports currently bound.

pViewports [out]

Type: D3D10_VIEWPORT*

An array of viewports (see D3D10_VIEWPORT) to be filled with information from the device. If NumViewports is greater than the actual number of viewports currently bound, then unused members of the array will contain 0.

Return value

Returns nothing.

Requirements

Header

D3D10.h

Library

D3D10.lib

See also

ID3D10Device Interface

 

 

Community Additions

ADD
Show:
© 2015 Microsoft