Microsoft DirectX 9.0 SDK Update (October 2004)

Geometry.OptimizeVertices Method

Language:

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

Optimizes a set of vertices.

Definition

Visual Basic .NET Public Shared Function OptimizeVertices( _
    ByVal indices() As Short, _
    ByVal numberVertices As Integer _
) As Integer()
C# public static int[] OptimizeVertices(
    short[] indices,
    int numberVertices
);
Managed C++ public: static int OptimizeVertices(
    short indices __gc[],
    int numberVertices
) __gc[];
JScript .NET public static function OptimizeVertices(
    indices : short[],
    numberVertices : int
) : int[];

Parameters

indices System.Int16[]. Array of 16-bit indices that indicate the vertices to optimize.
numberVertices System.Int32. Number of vertices to optimize.

Return Value

System.Int32[]. Optimized vertices.


© 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