PFND3DDDI_SETPIXELSHADERCONSTI callback function (d3dumddi.h)

The SetPixelShaderConstI function sets one or more pixel shader constant registers with integer values.

Syntax

PFND3DDDI_SETPIXELSHADERCONSTI Pfnd3dddiSetpixelshaderconsti;

HRESULT Pfnd3dddiSetpixelshaderconsti(
  [in] HANDLE hDevice,
       const D3DDDIARG_SETPIXELSHADERCONSTI *unnamedParam2,
       const INT *unnamedParam3
)
{...}

Parameters

[in] hDevice

A handle to the display device (graphics context).

unnamedParam2

pData [in]

A pointer to a D3DDDIARG_SETPIXELSHADERCONST structure that describes how to set the pixel shader constant registers.

unnamedParam3

pRegisters [in]

A pointer to a buffer that contains INT values to copy.

Return value

SetPixelShaderConstI returns S_OK or an appropriate error result if the pixel shader constant registers are not successfully set with integer values.

Requirements

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

See also

D3DDDIARG_SETPIXELSHADERCONST

D3DDDI_DEVICEFUNCS