PFND3D10DDI_STATE_PS_CONSTBUF_CB - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d10umddi.h

PFND3D10DDI_STATE_PS_CONSTBUF_CB Pfnd3d10ddiStatePsConstbufCb;

void Pfnd3d10ddiStatePsConstbufCb(
  D3D10DDI_HRTCORELAYER unnamedParam1,
  UINT unnamedParam2,
  UINT unnamedParam3
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3d10umddi-pfnd3d10ddi_state_ps_constbuf_cb)

PFND3D10DDI_STATE_PS_CONSTBUF_CB callback function

Description

The pfnStatePsConstBufCb function causes the Microsoft Direct3D 10 runtime to refresh the pixel shader stage's bound constant buffers.

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 buffers to refresh. The number can be -1, which specifies that the Direct3D runtime 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 starting constant buffer to refresh.

Remarks

The Base and Count parameters that the driver passes to the pfnStatePsConstBufCb function directly correspond to the StartBuffer and NumBuffers parameters that are passed to the driver's PsSetConstantBuffers function.

See also

CreateDevice(D3D10)

D3D10DDI_CORELAYER_DEVICECALLBACKS

PsSetConstantBuffers