Microsoft DirectX 9.0 SDK Update (October 2004)

VertexInformation.GenerateDeclaration Method

Language:

Note: This documentation is preliminary and is subject to change.

Generates an output vertex declaration from the input declaration.

Definition

Visual Basic .NET Public Shared Function GenerateDeclaration( _
    ByVal declarator() As VertexElement _
) As VertexElement()
C# public static VertexElement[] GenerateDeclaration(
    VertexElement[] declarator
);
Managed C++ public: static VertexElement GenerateDeclaration(
    VertexElement declarator __gc[]
) __gc[];
JScript .NET public static function GenerateDeclaration(
    declarator : VertexElement[]
) : VertexElement[];

Parameters

declarator Microsoft.DirectX.Direct3D.VertexElement[]. Array of VertexElement structures that represent the input vertex declaration.

Return Value

Microsoft.DirectX.Direct3D.VertexElement[]. Array of VertexElement structures that represent the output vertex declaration.

Remarks

The output declaration is used by the mesh tessellation functions.

Exceptions
InvalidCallException The call is invalid.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center