ID3D10Device::RSGetScissorRects method (d3d10.h)

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

Syntax

void RSGetScissorRects(
  UINT       *NumRects,
  D3D10_RECT *pRects
);

Parameters

NumRects

Type: UINT*

Number of scissor rectangles to get. If pRects is NULL, this will be filled with the number of scissor rectangles currently bound.

pRects

Type: D3D10_RECT*

An array of scissor rectangles (see D3D10_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

   
Target Platform Windows
Header d3d10.h
Library D3D10.lib

See also

ID3D10Device Interface