PFND3DDDI_SETSCISSORRECT callback function

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 *Arg2
)
{...}

Parameters

hDevice

A handle to the display device (graphics context).

Arg2

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

   
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