Share via


Geometry.OptimizeVertices(Int16[],Int32) Method (Microsoft.DirectX.Direct3D)

Optimizes a set of vertices.

Definition

Visual Basic Public Shared Function OptimizeVertices( _
    ByVal indices() As Short, _
    ByVal numberVertices As Integer _
) As Integer()
C# public static int[] OptimizeVertices(
    short[] indices,
    int numberVertices
);
C++ public:
static array<int>^ OptimizeVertices(
    array<short>^ indices,
    int numberVertices
);
JScript 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.