PFND3DDDI_SETSCISSORRECT callback function (d3dumddi.h)

The SetScissorRect function marks a portion of a render target that rendering is confined to.

Syntax

PFND3DDDI_SETSCISSORRECT Pfnd3dddiSetscissorrect;

HRESULT Pfnd3dddiSetscissorrect(
  HANDLE hDevice,
  const RECT *unnamedParam2
)
{...}

Parameters

hDevice

A handle to the display device (graphics context).

unnamedParam2

pRect [in]

A pointer to a RECT structure that specifies the 2-D portion of the render target to confine rendering to.

Return value

SetScissorRect returns S_OK or an appropriate error result if the 2-D resource is not successfully marked.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Target Platform Desktop
Header d3dumddi.h (include D3dumddi.h)

See also

D3DDDI_DEVICEFUNCS

RECT