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>.
|
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) |
using AssimpUtils::BoneIndexMap = QHash<QString, qint32> |
Definition at line 20 of file assimputils.h.
using AssimpUtils::MeshList = QVector<const aiMesh *> |
Definition at line 21 of file assimputils.h.
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().