Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

Show:
© 2014 Microsoft