PFND3D11DDI_STATE_DS_SRV_CB callback function

The pfnStateDsSrvCb function causes the Microsoft Direct3D 11 runtime to refresh the constant shader resource view state for the domain shader.

Syntax

PFND3D11DDI_STATE_DS_SRV_CB Pfnd3d11ddiStateDsSrvCb;

void Pfnd3d11ddiStateDsSrvCb(
  D3D10DDI_HRTCORELAYER Arg1,
  UINT Arg2,
  UINT Arg3
)
{...}

Parameters

Arg1

hRuntimeDevice [in]

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

Arg2

Base [in]

The beginning resource view for which the runtime should refresh state.

Arg3

Count [in]

The total number of resource views. The number can be -1, which specifies that the Direct3D runtime uses its high watermarks to substitute an optimal value (which is typically less than the maximum valid value for Count). However, no non-NULL binding exists in a slot larger than the optimal Count value.

Return Value

None

Requirements

   
Minimum supported client pfnStateDsSrvCb is supported beginning with the Windows 7 operating system.
Target Platform Desktop
Header d3d10umddi.h (include D3d10umddi.h)

See Also

CreateDevice(D3D10)

D3D11DDI_CORELAYER_DEVICECALLBACKS