VertexInformation.GetFormatSize Method

Language:

Returns the size of the vertex format.

Definition

Visual Basic Public Shared Function GetFormatSize( _
    ByVal vertexFormat As VertexFormats _
) As Integer
C# public static int GetFormatSize(
    VertexFormats vertexFormat
);
C++ public:
static int GetFormatSize(
    VertexFormats vertexFormat
);
JScript 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.


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