VertexInformation.FormatFromDeclarator Method |
Language: |
Returns a VertexFormats structure from a declaration.
Visual Basic Public Shared Function FormatFromDeclarator( _
ByVal declarator() As VertexElement _
) As VertexFormatsC# public static VertexFormats FormatFromDeclarator(
VertexElement[] declarator
);C++ public:
static VertexFormats FormatFromDeclarator(
array<VertexElement>^ declarator
);JScript public static function FormatFromDeclarator(
declarator : VertexElement[]
) : VertexFormats;
declarator Microsoft.DirectX.Direct3D.VertexElement[]
Array of VertexElement structures that describe the VertexFormats code.
Microsoft.DirectX.Direct3D.VertexFormats
Combination of VertexFormats flags that describe the vertex format returned from the declaration.
This method fails for any declaration that does not map directly to a vertex format.
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