![]() |
Qt 6.x
The Qt SDK
|
Classes | |
struct | AssetMeshSubset |
struct | AssetVertexEntry |
class | Mesh |
struct | MeshInternal |
struct | RuntimeMeshData |
Functions | |
static quint32 | getAlignedOffset (quint32 offset, quint32 align) |
size_t | simplifyMesh (unsigned int *destination, const unsigned int *indices, size_t indexCount, const float *vertexPositions, size_t vertexCount, size_t vertexPositionsStride, size_t targetIndexCount, float targetError, unsigned int options, float *resultError) |
float | simplifyScale (const float *vertexPositions, size_t vertexCount, size_t vertexPositionsStride) |
void | optimizeVertexCache (unsigned int *destination, const unsigned int *indices, size_t indexCount, size_t vertexCount) |
Variables | |
static const size_t | MULTI_HEADER_STRUCT_SIZE = 16 |
static const size_t | MULTI_ENTRY_STRUCT_SIZE = 16 |
static const size_t | MESH_HEADER_STRUCT_SIZE = 12 |
static const size_t | MESH_STRUCT_SIZE = 56 |
static const size_t | VERTEX_BUFFER_ENTRY_STRUCT_SIZE = 16 |
static const size_t | SUBSET_STRUCT_SIZE_V3_V4 = 40 |
static const size_t | SUBSET_STRUCT_SIZE_V5 = 48 |
static const size_t | SUBSET_STRUCT_SIZE_V6 = 52 |
static const size_t | LOD_STRUCT_SIZE = 12 |
Definition at line 616 of file qssgmesh.cpp.
References Q_ASSERT.
Referenced by QSSGMesh::Mesh::createLightmapUVChannel(), and QSSGMesh::Mesh::fromAssetData().
void Q_QUICK3DUTILS_EXPORT QSSGMesh::optimizeVertexCache | ( | unsigned int * | destination, |
const unsigned int * | indices, | ||
size_t | indexCount, | ||
size_t | vertexCount | ||
) |
Definition at line 1259 of file qssgmesh.cpp.
References destination.
Referenced by AssimpUtils::generateMeshData().
size_t Q_QUICK3DUTILS_EXPORT QSSGMesh::simplifyMesh | ( | unsigned int * | destination, |
const unsigned int * | indices, | ||
size_t | indexCount, | ||
const float * | vertexPositions, | ||
size_t | vertexCount, | ||
size_t | vertexPositionsStride, | ||
size_t | targetIndexCount, | ||
float | targetError, | ||
unsigned int | options, | ||
float * | resultError | ||
) |
Definition at line 1249 of file qssgmesh.cpp.
References destination.
Referenced by QT_BEGIN_NAMESPACE::generateMeshLevelsOfDetail().
float Q_QUICK3DUTILS_EXPORT QSSGMesh::simplifyScale | ( | const float * | vertexPositions, |
size_t | vertexCount, | ||
size_t | vertexPositionsStride | ||
) |
Definition at line 1254 of file qssgmesh.cpp.
Referenced by QT_BEGIN_NAMESPACE::generateMeshLevelsOfDetail().
|
static |
Definition at line 41 of file qssgmesh.cpp.
Referenced by QSSGMesh::MeshInternal::readMeshData(), and QSSGMesh::MeshInternal::writeMeshData().
|
static |
Definition at line 25 of file qssgmesh.cpp.
Referenced by QSSGMesh::MeshInternal::readMeshData(), and QSSGMesh::Mesh::save().
|
static |
Definition at line 28 of file qssgmesh.cpp.
Referenced by QSSGMesh::MeshInternal::readMeshData(), and QSSGMesh::MeshInternal::writeMeshData().
|
static |
Definition at line 22 of file qssgmesh.cpp.
Referenced by QSSGMesh::MeshInternal::readFileHeader(), and QSSGMesh::Mesh::save().
|
static |
Definition at line 19 of file qssgmesh.cpp.
Referenced by QSSGMesh::MeshInternal::readFileHeader(), and QSSGMesh::Mesh::save().
|
static |
Definition at line 34 of file qssgmesh.cpp.
Referenced by QSSGMesh::MeshInternal::readMeshData().
|
static |
Definition at line 36 of file qssgmesh.cpp.
Referenced by QSSGMesh::MeshInternal::readMeshData().
|
static |
Definition at line 38 of file qssgmesh.cpp.
Referenced by QSSGMesh::MeshInternal::readMeshData(), and QSSGMesh::MeshInternal::writeMeshData().
|
static |
Definition at line 31 of file qssgmesh.cpp.
Referenced by QSSGMesh::MeshInternal::readMeshData(), and QSSGMesh::MeshInternal::writeMeshData().