D3DDDIARG_CREATEVERTEXSHADERDECL structure

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

Syntax

typedef struct _D3DDDIARG_CREATEVERTEXSHADERDECL {
  UINT   NumVertexElements;
  HANDLE ShaderHandle;
} D3DDDIARG_CREATEVERTEXSHADERDECL;

Members

NumVertexElements

[in] 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.

ShaderHandle

[out] 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

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

See Also

CreateVertexShaderDecl