Microsoft DirectX 9.0 SDK Update (October 2004)

VertexInformation.DeclaratorFromFormat Method

Language:

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

Returns a declaration from a vertex format.

Definition

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

Parameters

vertexFormat Microsoft.DirectX.Direct3D.VertexFormats. One or more VertexFormats flags that describe the vertex format from which to generate the returned declaration array.

Return Value

Microsoft.DirectX.Direct3D.VertexElement[]. Array of VertexElement structures that describe the vertex format of the mesh vertices.

Remarks

Exceptions
InvalidMeshException The mesh is invalid.

See Also


© 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