D3DDDIARG_CREATEVERTEXSHADERDECL structure (d3dumddi.h)

The D3DDDIARG_CREATEVERTEXSHADERDECL structure specifies a shader handle to associate with the vertex shader declaration.

Syntax

typedef struct _D3DDDIARG_CREATEVERTEXSHADERDECL {
  [in]  UINT   NumVertexElements;
  [out] HANDLE ShaderHandle;
} D3DDDIARG_CREATEVERTEXSHADERDECL;

Members

[in] NumVertexElements

The number of vertex elements in the array that is passed to the pVertexElements parameter in a call to the user-mode display driver's CreateVertexShaderDecl function.

[out] ShaderHandle

A handle to the vertex shader declaration.

Remarks

The handle value in the ShaderHandle member is guaranteed to be nonzero.

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

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3dumddi.h (include D3dumddi.h)

See also

CreateVertexShaderDecl