Bewerken

Delen via


PFND3D10DDI_STATE_RS_RASTSTATE_CB callback function (d3d10umddi.h)

The pfnStateRsRastStateCb function causes the Microsoft Direct3D 10 runtime to refresh the rasterization state.

Syntax

PFND3D10DDI_STATE_RS_RASTSTATE_CB Pfnd3d10ddiStateRsRaststateCb;

void Pfnd3d10ddiStateRsRaststateCb(
  D3D10DDI_HRTCORELAYER unnamedParam1
)
{...}

Parameters

unnamedParam1

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 pfnStateRsRastStateCb function calls the user-mode display driver's SetRasterizerState function with the current rasterizer state.

Requirements

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

See also

CreateDevice(D3D10)

D3D10DDI_CORELAYER_DEVICECALLBACKS

SetRasterizerState