Geometry.OptimizeFaces(Int16[],Int32) Method (Microsoft.DirectX.Direct3D)
Optimizes a set of faces.
Definition
Visual Basic Public Shared Function OptimizeFaces( _
ByVal indices() As Short, _
ByVal numberVertices As Integer _
) As Integer()C# public static int[] OptimizeFaces(
short[] indices,
int numberVertices
);C++ public:
static array<int>^ OptimizeFaces(
array<short>^ indices,
int numberVertices
);JScript public static function OptimizeFaces(
indices : short[],
numberVertices : int
) : int[];
Parameters
indices System.Int16[]
Array of 16-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 Int32 values that represent the optimized faces.