PFND3D10DDI_STATE_OM_RENDERTARGETS_CB callback function

The pfnStateOmRenderTargetsCb function causes the Microsoft Direct3D 10 runtime to refresh the output merger's bound render targets.

Syntax

PFND3D10DDI_STATE_OM_RENDERTARGETS_CB Pfnd3d10ddiStateOmRendertargetsCb;

void Pfnd3d10ddiStateOmRendertargetsCb(
  D3D10DDI_HRTCORELAYER Arg1
)
{...}

Parameters

Arg1

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 pfnStateOmRenderTargetsCb function calls the user-mode display driver's SetRenderTargets function with all of the currently set render target surfaces.

Requirements

   
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

SetRenderTargets