PFND3DDDI_CREATEVERTEXSHADERFUNC callback function

The CreateVertexShaderFunc function converts vertex shader code into a hardware-specific format and associates the code with a shader handle.

Syntax

PFND3DDDI_CREATEVERTEXSHADERFUNC Pfnd3dddiCreatevertexshaderfunc;

HRESULT Pfnd3dddiCreatevertexshaderfunc(
  HANDLE hDevice,
  D3DDDIARG_CREATEVERTEXSHADERFUNC *,
  CONST UINT *
)
{...}

Parameters

hDevice

A handle to the display device (graphics context).

*

*

Return Value

CreateVertexShaderFunc returns S_OK or an appropriate error result if the vertex shader code object is not successfully created.

Remarks

For more information about programming shader assemblers, see Processing Shader Codes.

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_CREATEVERTEXSHADERFUNC

D3DDDI_DEVICEFUNCS