The TriangulateProcess splits up all faces with more than three indices into triangles.
More...
#include <TriangulateProcess.h>
Inherits Assimp::BaseProcess.
The TriangulateProcess splits up all faces with more than three indices into triangles.
You usually want this to happen because the graphics cards need their data as triangles.
◆ TriangulateProcess()
| TriangulateProcess::TriangulateProcess |
( |
| ) |
|
◆ ~TriangulateProcess()
| TriangulateProcess::~TriangulateProcess |
( |
| ) |
|
◆ Execute()
| void TriangulateProcess::Execute |
( |
aiScene * |
pScene | ) |
|
|
virtual |
Executes the post processing step on the given imported data.
At the moment a process is not supposed to fail.
- Parameters
-
| pScene | The imported data to work at. |
Implements Assimp::BaseProcess.
◆ IsActive()
| bool TriangulateProcess::IsActive |
( |
unsigned int |
pFlags | ) |
const |
|
virtual |
Returns whether the processing step is present in the given flag field.
- 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.
◆ TriangulateMesh()
| bool TriangulateProcess::TriangulateMesh |
( |
aiMesh * |
pMesh | ) |
|
Triangulates the given mesh.
- Parameters
-
| pMesh | The mesh to triangulate. |
The documentation for this class was generated from the following files: