Qt 6.x
The Qt SDK
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 = typedef 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 QList< T >::append(), QSSGMesh::MeshInternal::byteSizeForComponentType(), QList< T >::constData(), QList< T >::data(), QSSGMesh::Mesh::fromAssetData(), QString::fromUtf8(), QSSGMesh::optimizeVertexCache(), QList< T >::push_front(), Q_ASSERT, Q_UNUSED, QList< T >::reserve(), scene, QByteArray::size(), and QList< T >::size().

Referenced by setModelProperties().

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