![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include "qcacheutils_p.h"#include <QFile>#include <QFileInfo>#include <QtQml/QQmlFile>#include <extensions/PxExtensionsAPI.h>#include "qphysicsworld_p.h"Go to the source code of this file.
Namespaces | |
| namespace | QCacheUtils |
Functions | |
| static QString | QCacheUtils::getCachedFilename (const QString &filePath, CacheGeometry geom) |
| static void | QCacheUtils::readCachedMesh (const QString &meshFilename, physx::PxPhysics &physics, physx::PxTriangleMesh *&triangleMesh, physx::PxConvexMesh *&convexMesh, physx::PxHeightField *&heightField, CacheGeometry geom) |
| static void | QCacheUtils::writeCachedMesh (const QString &meshFilename, physx::PxDefaultMemoryOutputStream &bufbuf, CacheGeometry geom) |
| void | QCacheUtils::writeCachedTriangleMesh (const QString &filePath, physx::PxDefaultMemoryOutputStream &bufbuf) |
| void | QCacheUtils::writeCachedConvexMesh (const QString &filePath, physx::PxDefaultMemoryOutputStream &bufbuf) |
| void | QCacheUtils::writeCachedHeightField (const QString &filePath, physx::PxDefaultMemoryOutputStream &bufbuf) |
| static void | QCacheUtils::readCookedMesh (const QString &meshFilename, physx::PxPhysics &physics, physx::PxTriangleMesh *&triangleMesh, physx::PxConvexMesh *&convexMesh, physx::PxHeightField *&heightField, CacheGeometry geom) |
| physx::PxTriangleMesh * | QCacheUtils::readCachedTriangleMesh (const QString &filePath, physx::PxPhysics &physics) |
| physx::PxConvexMesh * | QCacheUtils::readCachedConvexMesh (const QString &filePath, physx::PxPhysics &physics) |
| physx::PxHeightField * | QCacheUtils::readCachedHeightField (const QString &filePath, physx::PxPhysics &physics) |
| physx::PxTriangleMesh * | QCacheUtils::readCookedTriangleMesh (const QString &filePath, physx::PxPhysics &physics) |
| physx::PxConvexMesh * | QCacheUtils::readCookedConvexMesh (const QString &filePath, physx::PxPhysics &physics) |
| physx::PxHeightField * | QCacheUtils::readCookedHeightField (const QString &filePath, physx::PxPhysics &physics) |
Variables | |
| static QString | QCacheUtils::MESH_CACHE_PATH = qEnvironmentVariable("QT_PHYSICS_CACHE_PATH") |