次の方法で共有


Mesh.Optimize(MeshFlags,GraphicsStream,Int32,Int32,GraphicsStream)

Optimize メソッド

メッシュの面および頂点の順番変更を制御し、パフォーマンスを最適化して、出力メッシュを生成する。

定義

Visual Basic Public Function Optimize( _
    ByVal flags As MeshFlags, _
    ByVal adjacencyIn As GraphicsStream, _
    ByRef adjacencyOut As Integer, _
    ByRef faceRemap As Integer, _
    ByRef vertexRemap As GraphicsStream _
) As Mesh
C# public Mesh Optimize(
    MeshFlags flags,
    GraphicsStream adjacencyIn,
    out int adjacencyOut,
    out int faceRemap,
    out GraphicsStream vertexRemap
);
Managed C++ public: Mesh* Optimize(
    MeshFlags flags,
    GraphicsStreamadjacencyIn,
    intadjacencyOut,
    intfaceRemap,
    GraphicsStream** vertexRemap
);
JScript public function Optimize(
    flags : MeshFlags,
    adjacencyIn : GraphicsStream,
    adjacencyOut : int,
    faceRemap : int,
    vertexRemap : GraphicsStream
) : Mesh;

パラメータ

flags Microsoft.DirectX.Direct3D.MeshFlags.
adjacencyIn Microsoft.DirectX.Direct3D.GraphicsStream.
adjacencyOut System.Int32[].
faceRemap System.Int32[].
vertexRemap Microsoft.DirectX.Direct3D.GraphicsStream.

戻り値

Microsoft.DirectX.Direct3D.Mesh.

対象

Mesh

© 2002 Microsoft Corporation. All rights reserved. Terms of use.