PFND3DDDI_SETPIXELSHADERCONSTI callback function

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

Syntax

PFND3DDDI_SETPIXELSHADERCONSTI Pfnd3dddiSetpixelshaderconsti;

HRESULT Pfnd3dddiSetpixelshaderconsti(
  HANDLE hDevice,
  CONST D3DDDIARG_SETPIXELSHADERCONSTI *,
  CONST INT *
)
{...}

Parameters

hDevice

A handle to the display device (graphics context).

*

*

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

   
Windows version 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