VertexInformation.DeclaratorFromFormat Method |
Language: |
Returns a declaration from a vertex format.
Visual Basic Public Shared Function DeclaratorFromFormat( _
ByVal vertexFormat As VertexFormats _
) As VertexElement()C# public static VertexElement[] DeclaratorFromFormat(
VertexFormats vertexFormat
);C++ public:
static array<VertexElement>^ DeclaratorFromFormat(
VertexFormats vertexFormat
);JScript public static function DeclaratorFromFormat(
vertexFormat : VertexFormats
) : VertexElement[];
vertexFormat Microsoft.DirectX.Direct3D.VertexFormats
One or more VertexFormats flags that describe the vertex format from which to generate the returned declaration array.
Microsoft.DirectX.Direct3D.VertexElement[]
Array of VertexElement structures that describe the vertex format of the mesh vertices.
Exceptions
InvalidMeshException The mesh 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