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