Blt
Expand Minimize

SetVertexShaderConst routine

The SetVertexShaderConst function sets one or more vertex shader constant registers with floating-point values.

Syntax


PFND3DDDI_SETVERTEXSHADERCONST SetVertexShaderConst;

__checkReturn HRESULT APIENTRY SetVertexShaderConst(
  _In_  HANDLE hDevice,
  _In_  const D3DDDIARG_SETVERTEXSHADERCONST *pData,
  _In_  const VOID *pRegisters
)
{ ... }

Parameters

hDevice [in]

A handle to the display device (graphics context).

pData [in]

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

pRegisters [in]

A pointer to a buffer that contains the floating-point values to copy.

Return value

SetVertexShaderConst returns S_OK or an appropriate error result if the vertex shader constant registers are not successfully set with floating-point values.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDIARG_SETVERTEXSHADERCONST
D3DDDI_DEVICEFUNCS

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft