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 |
|
|---|---|
|
Library |
|
See also