PFND3DDDI_CREATEVERTEXSHADERFUNC - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dumddi.h

PFND3DDDI_CREATEVERTEXSHADERFUNC Pfnd3dddiCreatevertexshaderfunc;

HRESULT Pfnd3dddiCreatevertexshaderfunc(
  [in] HANDLE hDevice,
       D3DDDIARG_CREATEVERTEXSHADERFUNC *unnamedParam2,
       const UINT *unnamedParam3
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dumddi-pfnd3dddi_createvertexshaderfunc)

PFND3DDDI_CREATEVERTEXSHADERFUNC callback function

Description

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

Parameters

hDevice [in]

A handle to the display device (graphics context).

unnamedParam2

pCode [in]

An array of CONST UINT tokens that make up the vertex shader code.

unnamedParam3

pData [in, out]

A pointer to a D3DDDIARG_CREATEVERTEXSHADERFUNC structure that retrieves the shader handle that is associated with the vertex shader code that is specified by pCode.

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.

See also

D3DDDIARG_CREATEVERTEXSHADERFUNC

D3DDDI_DEVICEFUNCS