ID3D11DeviceContext::RSGetScissorRects method (d3d11.h)

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

Syntax

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

Parameters

[in, out] pNumRects

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.

[out, optional] pRects

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

None

Requirements

Requirement Value
Target Platform Windows
Header d3d11.h
Library D3D11.lib

See also

ID3D11DeviceContext