Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
AssimpUtils Namespace Reference

Typedefs

using BoneIndexMap = QHash<QString, qint32>
 
using MeshList = QVector<const aiMesh *>
 

Functions

QSSGMesh::Mesh generateMeshData (const aiScene &scene, const MeshList &meshes, bool useFloatJointIndices, bool generateLevelsOfDetail, float normalMergeAngle, float normalSplitAngle, QString &errorString)
 

Typedef Documentation

◆ BoneIndexMap

Definition at line 20 of file assimputils.h.

◆ MeshList

using AssimpUtils::MeshList = QVector<const aiMesh *>

Definition at line 21 of file assimputils.h.

Function Documentation

◆ generateMeshData()

QSSGMesh::Mesh AssimpUtils::generateMeshData ( const aiScene & scene,
const MeshList & meshes,
bool useFloatJointIndices,
bool generateLevelsOfDetail,
float normalMergeAngle,
float normalSplitAngle,
QString & errorString )

Definition at line 664 of file assimputils.cpp.

References QSSGMesh::MeshInternal::byteSizeForComponentType(), QSSGMesh::Mesh::fromAssetData(), QString::fromUtf8(), QSSGMesh::Mesh::Lod::offset, QSSGMesh::optimizeVertexCache(), Q_ASSERT, Q_UNUSED, QByteArray(), and scene.

Referenced by setModelProperties().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: