Share via


ProgressiveMesh.OptimizeBaseLevelOfDetail(MeshFlags) Method (Microsoft.DirectX.Direct3D)

Optimizes the base level of detail (LOD) part of a ProgressiveMesh object.

Definition

Visual Basic Public Sub OptimizeBaseLevelOfDetail( _
    ByVal flags As MeshFlags _
)
C# public void OptimizeBaseLevelOfDetail(
    MeshFlags flags
);
C++ public:
void OptimizeBaseLevelOfDetail(
    MeshFlags flags
);
JScript public function OptimizeBaseLevelOfDetail(
    flags : MeshFlags
);

Parameters

flags Microsoft.DirectX.Direct3D.MeshFlags
One or more Optimize* flags from the MeshFlags enumeration that specify the type of optimization to perform.

Remarks

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

OutOfMemoryExceptionLeave Site

Microsoft Direct3D could not allocate sufficient memory to complete the call.