pfnStateRsScissorCb routine

The pfnStateRsScissorCb function causes the Microsoft Direct3D 10 runtime to refresh the scissor state.

Syntax


PFND3D10DDI_STATE_RS_SCISSOR_CB pfnStateRsScissorCb;

void APIENTRY pfnStateRsScissorCb(
  _In_  D3D10DDI_HRTCORELAYER hRuntimeDevice
)
{ ... }

Parameters

hRuntimeDevice [in]

A handle to a context for the core Direct3D 10 runtime. This handle is supplied to the driver in a call to the driver's CreateDevice(D3D10) function.

Return value

None

Remarks

The pfnStateRsScissorCb function calls the user-mode display driver's SetScissorRects function with all of the currently set scissor rectangles (that is, portions of render targets that rendering is confined to).

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3d10umddi.h (include D3d10umddi.h)

See also

CreateDevice(D3D10)
D3D10DDI_CORELAYER_DEVICECALLBACKS
SetScissorRects

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft