VertexInformation.GenerateDeclaration Method

Language:

Generates an output vertex declaration from the input declaration.

Definition

Visual Basic Public Shared Function GenerateDeclaration( _
    ByVal declarator() As VertexElement _
) As VertexElement()
C# public static VertexElement[] GenerateDeclaration(
    VertexElement[] declarator
);
C++ public:
static array<VertexElement>^ GenerateDeclaration(
    array<VertexElement>^ declarator
);
JScript 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.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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