PFND3DDDI_CREATEVERTEXSHADERDECL - NtDoc

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

PFND3DDDI_CREATEVERTEXSHADERDECL Pfnd3dddiCreatevertexshaderdecl;

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

NtDoc

No description available.

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

PFND3DDDI_CREATEVERTEXSHADERDECL callback function

Description

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

Parameters

hDevice [in]

A handle to the display device (graphics context).

unnamedParam2

pData [in, out]

A pointer to a D3DDDIARG_CREATEVERTEXSHADERDECL structure that retrieves the shader handle that is associated with the vertex shader declaration that is specified by pVertexElements.

unnamedParam3

pVertexElements [in]

An array of D3DDDIVERTEXELEMENT structures that make up the vertex shader declaration.

Return value

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

Remarks

The array of D3DDDIVERTEXELEMENT structures specified by pVertexElements defines vertex data into the pipeline.

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

See also

D3DDDIARG_CREATEVERTEXSHADERDECL

D3DDDIVERTEXELEMENT

D3DDDI_DEVICEFUNCS