RemoveRedundantMatsProcess: Post-processing step to remove redundant materials from the imported scene.
More...
Inherits Assimp::BaseProcess.
RemoveRedundantMatsProcess: Post-processing step to remove redundant materials from the imported scene.
§ RemoveRedundantMatsProcess()
RemoveRedundantMatsProcess::RemoveRedundantMatsProcess |
( |
| ) |
|
The default class constructor.
§ ~RemoveRedundantMatsProcess()
RemoveRedundantMatsProcess::~RemoveRedundantMatsProcess |
( |
| ) |
|
§ Execute()
void RemoveRedundantMatsProcess::Execute |
( |
aiScene * |
pScene | ) |
|
|
virtual |
Executes the post processing step on the given imported data.
A process should throw an ImportErrorException* if it fails. This method must be implemented by deriving classes.
- Parameters
-
pScene | The imported data to work at. |
Implements Assimp::BaseProcess.
§ GetFixedMaterialsString()
const std::string& Assimp::RemoveRedundantMatsProcess::GetFixedMaterialsString |
( |
| ) |
const |
|
inline |
§ IsActive()
bool RemoveRedundantMatsProcess::IsActive |
( |
unsigned int |
pFlags | ) |
const |
|
virtual |
Returns whether the processing step is present in the given flag.
- Parameters
-
pFlags | The processing flags the importer was called with. A bitwise combination of aiPostProcessSteps. |
- Returns
- true if the process is present in this flag fields, false if not.
Implements Assimp::BaseProcess.
§ SetFixedMaterialsString()
void Assimp::RemoveRedundantMatsProcess::SetFixedMaterialsString |
( |
const std::string & |
fixed = "" | ) |
|
|
inline |
Set list of fixed (unmutable) materials.
- Parameters
-
§ SetupProperties()
void RemoveRedundantMatsProcess::SetupProperties |
( |
const Importer * |
pImp | ) |
|
|
virtual |
The documentation for this class was generated from the following files: