Windows apps
Collapse the table of content
Expand the table of content
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.

ID3D11DeviceContext::RSGetScissorRects method

Get the array of scissor rectangles bound to the rasterizer stage.

Syntax


void RSGetScissorRects(
  [in, out]       UINT       *pNumRects,
  [out, optional] D3D11_RECT *pRects
);

Parameters

pNumRects [in, out]

Type: UINT*

The number of scissor rectangles (ranges between 0 and D3D11_VIEWPORT_AND_SCISSORRECT_OBJECT_COUNT_PER_PIPELINE) bound; set pRects to NULL to use pNumRects to see how many rectangles would be returned.

pRects [out, optional]

Type: D3D11_RECT*

An array of scissor rectangles (see D3D11_RECT). If NumRects is greater than the number of scissor rects currently bound, then unused members of the array will contain 0.

Return value

Returns nothing.

Requirements

Header

D3D11.h

Library

D3D11.lib

See also

ID3D11DeviceContext

 

 

Show:
© 2017 Microsoft