Share via


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

Optimizes a set of faces.

Definition

Visual Basic Public Shared Function OptimizeFaces( _
    ByVal indices() As Integer, _
    ByVal numberVertices As Integer _
) As Integer()
C# public static int[] OptimizeFaces(
    int[] indices,
    int numberVertices
);
C++ public:
static array<int>^ OptimizeFaces(
    array<int>^ indices,
    int numberVertices
);
JScript public static function OptimizeFaces(
    indices : int[],
    numberVertices : int
) : int[];

Parameters

indices System.Int32[]
Array of 32-bit indices that indicate the mesh faces to optimize.
numberVertices System.Int32
Number of vertices in the mesh to optimize.

Return Value

System.Int32[]
Array of Int32Leave Site values that represent the optimized faces.