Microsoft DirectX 9.0 SDK Update (October 2004)

VertexInformation.GetFormatSize Method

Language:

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

Returns the size of the vertex format.

Definition

Visual Basic .NET Public Shared Function GetFormatSize( _
    ByVal vertexFormat As VertexFormats _
) As Integer
C# public static int GetFormatSize(
    VertexFormats vertexFormat
);
Managed C++ public: static int GetFormatSize(
    VertexFormats vertexFormat
);
JScript .NET public static function GetFormatSize(
    vertexFormat : VertexFormats
) : int;

Parameters

vertexFormat Microsoft.DirectX.Direct3D.VertexFormats. Vertex format for which to return size.

Return Value

System.Int32 . An Int32 Leave Site value that indicates the size of the vertex format.

Remarks

Exceptions
InvalidMeshException The mesh is invalid.


© 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