Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# IdeMeshOptimizer Class Reference

`#include <deMeshOpt.hpp>`

Inheritance diagram for IdeMeshOptimizer:

[legend]
List of all members.

## Public Member Functions
virtual deBoolean | OptimizeIndices (IdeVertexBuffer *VBuffer, long VCacheSize, deBoolean CCW)=0
virtual deBoolean | ReorderAllData (IdeVertexBuffer *VBuffer, long VCacheSize, deBoolean CCW)=0
## Protected Member Functions
virtual | ~IdeMeshOptimizer ()

## Detailed Description

class used for optimizing the vertices in a mesh. Related functions: IdeMeshOptimizer_GetMeshOptPtr

## Constructor & Destructor Documentation

virtual IdeMeshOptimizer::~IdeMeshOptimizer | ( |  | ) | `[inline, protected, virtual]`

## Member Function Documentation

virtual deBoolean IdeMeshOptimizer::OptimizeIndices | ( | IdeVertexBuffer * | VBuffer,
|  | long | VCacheSize,
|  | deBoolean | CCW
| ) | `[pure virtual]`

  | reorders the faces in an index buffer to use a post-transform cache of a given size Parameters:
  VBuffer | Vertex buffer containing index stream to be optimized
  VCacheSize | Size of the post-transform cache to optimize for
  CCW | Boolean flag for face winding. deTRUE ==> counter-clockwise
Implemented in deMeshOptimizer.

virtual deBoolean IdeMeshOptimizer::ReorderAllData | ( | IdeVertexBuffer * | VBuffer,
|  | long | VCacheSize,
|  | deBoolean | CCW
| ) | `[pure virtual]`

| Implemented in deMeshOptimizer.

The documentation for this class was generated from the following file:

- deMeshOpt.hpp