Edit

Share via


PFND3D10DDI_STATE_VS_SRV_CB callback function (d3d10umddi.h)

The pfnStateVsSrvCb function causes the Microsoft Direct3D 10 runtime to refresh the vertex shader stage's bound shader resource views.

Syntax

PFND3D10DDI_STATE_VS_SRV_CB Pfnd3d10ddiStateVsSrvCb;

void Pfnd3d10ddiStateVsSrvCb(
  D3D10DDI_HRTCORELAYER unnamedParam1,
  UINT unnamedParam2,
  UINT unnamedParam3
)
{...}

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.

unnamedParam2

Count [in]

The total number of DDI handles to samplers. The number can be -1, which specifies that pfnStateVsSamplerCb will use 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.

unnamedParam3

Base [in]

The beginning of the DDI handles to samplers.

Return value

None

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