ProgressiveMesh.OptimizeBaseLevelOfDetail Method

Language:

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.
OutOfMemoryException Leave Site Microsoft Direct3D could not allocate sufficient memory to complete the call.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center