![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Enumerations | |
enum class | CacheGeometry { TriangleMesh , ConvexMesh , HeightField , TriangleMesh , ConvexMesh , HeightField } |
enum class | CacheGeometry { TriangleMesh , ConvexMesh , HeightField , TriangleMesh , ConvexMesh , HeightField } |
Functions | |
static QString | getCachedFilename (const QString &filePath, CacheGeometry geom) |
static void | readCachedMesh (const QString &meshFilename, physx::PxPhysics &physics, physx::PxTriangleMesh *&triangleMesh, physx::PxConvexMesh *&convexMesh, physx::PxHeightField *&heightField, CacheGeometry geom) |
static void | writeCachedMesh (const QString &meshFilename, physx::PxDefaultMemoryOutputStream &buf, CacheGeometry geom) |
void | writeCachedTriangleMesh (const QString &filePath, physx::PxDefaultMemoryOutputStream &buf) |
void | writeCachedConvexMesh (const QString &filePath, physx::PxDefaultMemoryOutputStream &buf) |
void | writeCachedHeightField (const QString &filePath, physx::PxDefaultMemoryOutputStream &buf) |
static void | readCookedMesh (const QString &meshFilename, physx::PxPhysics &physics, physx::PxTriangleMesh *&triangleMesh, physx::PxConvexMesh *&convexMesh, physx::PxHeightField *&heightField, CacheGeometry geom) |
physx::PxTriangleMesh * | readCachedTriangleMesh (const QString &filePath, physx::PxPhysics &physics) |
physx::PxConvexMesh * | readCachedConvexMesh (const QString &filePath, physx::PxPhysics &physics) |
physx::PxHeightField * | readCachedHeightField (const QString &filePath, physx::PxPhysics &physics) |
physx::PxTriangleMesh * | readCookedTriangleMesh (const QString &filePath, physx::PxPhysics &physics) |
physx::PxConvexMesh * | readCookedConvexMesh (const QString &filePath, physx::PxPhysics &physics) |
physx::PxHeightField * | readCookedHeightField (const QString &filePath, physx::PxPhysics &physics) |
Variables | |
static QString | MESH_CACHE_PATH = qEnvironmentVariable("QT_PHYSICS_CACHE_PATH") |
|
strong |
Enumerator | |
---|---|
TriangleMesh | |
ConvexMesh | |
HeightField | |
TriangleMesh | |
ConvexMesh | |
HeightField |
Definition at line 20 of file qcacheutils.cpp.
|
strong |
Enumerator | |
---|---|
TriangleMesh | |
ConvexMesh | |
HeightField | |
TriangleMesh | |
ConvexMesh | |
HeightField |
Definition at line 20 of file qcacheutils.cpp.
|
static |
Definition at line 24 of file qcacheutils.cpp.
References ConvexMesh, HeightField, and TriangleMesh.
physx::PxConvexMesh * QCacheUtils::readCachedConvexMesh | ( | const QString & | filePath, |
physx::PxPhysics & | physics ) |
Definition at line 235 of file qcacheutils.cpp.
References ConvexMesh.
physx::PxHeightField * QCacheUtils::readCachedHeightField | ( | const QString & | filePath, |
physx::PxPhysics & | physics ) |
Definition at line 245 of file qcacheutils.cpp.
References HeightField.
|
static |
Definition at line 43 of file qcacheutils.cpp.
References ConvexMesh, MESH_CACHE_PATH, and TriangleMesh.
physx::PxTriangleMesh * QCacheUtils::readCachedTriangleMesh | ( | const QString & | filePath, |
physx::PxPhysics & | physics ) |
Definition at line 225 of file qcacheutils.cpp.
References TriangleMesh.
physx::PxConvexMesh * QCacheUtils::readCookedConvexMesh | ( | const QString & | filePath, |
physx::PxPhysics & | physics ) |
Definition at line 265 of file qcacheutils.cpp.
References ConvexMesh.
physx::PxHeightField * QCacheUtils::readCookedHeightField | ( | const QString & | filePath, |
physx::PxPhysics & | physics ) |
Definition at line 275 of file qcacheutils.cpp.
References HeightField.
|
static |
Definition at line 183 of file qcacheutils.cpp.
References ConvexMesh, and TriangleMesh.
physx::PxTriangleMesh * QCacheUtils::readCookedTriangleMesh | ( | const QString & | filePath, |
physx::PxPhysics & | physics ) |
Definition at line 255 of file qcacheutils.cpp.
References TriangleMesh.
void QCacheUtils::writeCachedConvexMesh | ( | const QString & | filePath, |
physx::PxDefaultMemoryOutputStream & | buf ) |
Definition at line 173 of file qcacheutils.cpp.
References ConvexMesh.
void QCacheUtils::writeCachedHeightField | ( | const QString & | filePath, |
physx::PxDefaultMemoryOutputStream & | buf ) |
Definition at line 178 of file qcacheutils.cpp.
References HeightField.
|
static |
Definition at line 122 of file qcacheutils.cpp.
References MESH_CACHE_PATH.
void QCacheUtils::writeCachedTriangleMesh | ( | const QString & | filePath, |
physx::PxDefaultMemoryOutputStream & | buf ) |
Definition at line 168 of file qcacheutils.cpp.
References TriangleMesh.
|
static |
Definition at line 22 of file qcacheutils.cpp.
Referenced by readCachedMesh(), and writeCachedMesh().