PFND3DDDI_SETVERTEXSHADERCONSTI callback function (d3dumddi.h)

The SetVertexShaderConstI function sets one or more vertex shader constant registers with integer values.

Syntax

PFND3DDDI_SETVERTEXSHADERCONSTI Pfnd3dddiSetvertexshaderconsti;

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

Parameters

[in] hDevice

A handle to the display device (graphics context).

unnamedParam2

pData [in]

A pointer to a D3DDDIARG_SETVERTEXSHADERCONST structure that specifies how to set the vertex shader constant registers.

unnamedParam3

pRegisters [in]

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

Return value

SetVertexShaderConstI returns S_OK or an appropriate error result if the vertex shader constant register is 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_SETVERTEXSHADERCONST

D3DDDI_DEVICEFUNCS