![]() |
![]() |
![]() |
VertexInformation.FormatFromDeclarator Method |
Language: |
Returns a VertexFormats structure from a declaration.
Visual Basic .NET Public Shared Function FormatFromDeclarator( _
ByVal declarator() As VertexElement _
) As VertexFormatsC# public static VertexFormats FormatFromDeclarator(
VertexElement[] declarator
);Managed C++ public: static VertexFormats FormatFromDeclarator(
VertexElement declarator __gc[]
);JScript .NET 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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center