Interface to Rational Reducer for reducing meshes.
More...
#include <MeshReductionManager.h>
Interface to Rational Reducer for reducing meshes.
Definition at line 33 of file MeshReductionManager.h.
◆ MeshReductionManager()
Cogs::RationalReducerExtension::MeshReductionManager::MeshReductionManager |
( |
Context * |
context | ) |
|
|
inline |
◆ cleanup()
void MeshReductionManager::cleanup |
( |
| ) |
|
◆ reduce() [1/2]
MeshHandle Cogs::RationalReducerExtension::MeshReductionManager::reduce |
( |
Mesh * |
mesh, |
|
|
float |
percent, |
|
|
float |
epsilon = 0.1f |
|
) |
| |
◆ reduce() [2/2]
std::vector< MeshHandle > MeshReductionManager::reduce |
( |
std::vector< Mesh * > |
meshes, |
|
|
std::vector< MaterialInstance * > |
materials, |
|
|
float |
percent, |
|
|
float |
epsilon = 0.1f |
|
) |
| |
◆ setAddNormals()
void Cogs::RationalReducerExtension::MeshReductionManager::setAddNormals |
( |
bool |
addNormals = true | ) |
|
|
inline |
◆ setLogging()
void Cogs::RationalReducerExtension::MeshReductionManager::setLogging |
( |
int |
loglevel = 0 | ) |
|
|
inline |
◆ addNormals
bool Cogs::RationalReducerExtension::MeshReductionManager::addNormals = true |
|
private |
◆ context
Context* Cogs::RationalReducerExtension::MeshReductionManager::context |
|
private |
◆ loglevel
int Cogs::RationalReducerExtension::MeshReductionManager::loglevel = 0 |
|
private |
The documentation for this class was generated from the following files: