Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qcacheutils_p.h
Go to the documentation of this file.
1
// Copyright (C) 2022 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
CACHEUTILS_H
6
#
define
CACHEUTILS_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
QtCore
/
qtconfigmacros
.
h
>
20
#
include
<
QtCore
/
QString
>
21
22
namespace
physx
{
23
class
PxDefaultMemoryOutputStream;
24
class
PxTriangleMesh;
25
class
PxConvexMesh;
26
class
PxPhysics;
27
class
PxHeightField;
28
}
29
30
QT_BEGIN_NAMESPACE
31
namespace
QCacheUtils
{
32
void
writeCachedTriangleMesh
(
const
QString &filePath,
physx
::PxDefaultMemoryOutputStream &buf);
33
void
writeCachedConvexMesh
(
const
QString &filePath,
physx
::PxDefaultMemoryOutputStream &buf);
34
void
writeCachedHeightField
(
const
QString &filePath,
physx
::PxDefaultMemoryOutputStream &buf);
35
36
physx
::PxTriangleMesh *
readCookedTriangleMesh
(
const
QString &filePath,
physx
::PxPhysics &physics);
37
physx
::PxConvexMesh *
readCookedConvexMesh
(
const
QString &filePath,
physx
::PxPhysics &physics);
38
physx
::PxHeightField *
readCookedHeightField
(
const
QString &filePath,
physx
::PxPhysics &physics);
39
40
physx
::PxTriangleMesh *
readCachedTriangleMesh
(
const
QString &filePath,
physx
::PxPhysics &physics);
41
physx
::PxConvexMesh *
readCachedConvexMesh
(
const
QString &filePath,
physx
::PxPhysics &physics);
42
physx
::PxHeightField *
readCachedHeightField
(
const
QString &filePath,
physx
::PxPhysics &physics);
43
}
44
QT_END_NAMESPACE
45
46
#
endif
QCacheUtils
Definition
qcacheutils.cpp:18
QCacheUtils::readCookedMesh
static void readCookedMesh(const QString &meshFilename, physx::PxPhysics &physics, physx::PxTriangleMesh *&triangleMesh, physx::PxConvexMesh *&convexMesh, physx::PxHeightField *&heightField, CacheGeometry geom)
Definition
qcacheutils.cpp:183
QCacheUtils::writeCachedConvexMesh
void writeCachedConvexMesh(const QString &filePath, physx::PxDefaultMemoryOutputStream &buf)
Definition
qcacheutils.cpp:173
QCacheUtils::writeCachedTriangleMesh
void writeCachedTriangleMesh(const QString &filePath, physx::PxDefaultMemoryOutputStream &buf)
Definition
qcacheutils.cpp:168
QCacheUtils::readCachedMesh
static void readCachedMesh(const QString &meshFilename, physx::PxPhysics &physics, physx::PxTriangleMesh *&triangleMesh, physx::PxConvexMesh *&convexMesh, physx::PxHeightField *&heightField, CacheGeometry geom)
Definition
qcacheutils.cpp:43
QCacheUtils::readCachedTriangleMesh
physx::PxTriangleMesh * readCachedTriangleMesh(const QString &filePath, physx::PxPhysics &physics)
Definition
qcacheutils.cpp:225
QCacheUtils::MESH_CACHE_PATH
static QString MESH_CACHE_PATH
Definition
qcacheutils.cpp:22
QCacheUtils::writeCachedHeightField
void writeCachedHeightField(const QString &filePath, physx::PxDefaultMemoryOutputStream &buf)
Definition
qcacheutils.cpp:178
QCacheUtils::readCookedConvexMesh
physx::PxConvexMesh * readCookedConvexMesh(const QString &filePath, physx::PxPhysics &physics)
Definition
qcacheutils.cpp:265
QCacheUtils::readCookedTriangleMesh
physx::PxTriangleMesh * readCookedTriangleMesh(const QString &filePath, physx::PxPhysics &physics)
Definition
qcacheutils.cpp:255
QCacheUtils::CacheGeometry
CacheGeometry
Definition
qcacheutils.cpp:20
QCacheUtils::CacheGeometry::TriangleMesh
@ TriangleMesh
Definition
qcacheutils.cpp:20
QCacheUtils::CacheGeometry::HeightField
@ HeightField
Definition
qcacheutils.cpp:20
QCacheUtils::CacheGeometry::ConvexMesh
@ ConvexMesh
Definition
qcacheutils.cpp:20
QCacheUtils::readCookedHeightField
physx::PxHeightField * readCookedHeightField(const QString &filePath, physx::PxPhysics &physics)
Definition
qcacheutils.cpp:275
QCacheUtils::writeCachedMesh
static void writeCachedMesh(const QString &meshFilename, physx::PxDefaultMemoryOutputStream &buf, CacheGeometry geom)
Definition
qcacheutils.cpp:122
QCacheUtils::getCachedFilename
static QString getCachedFilename(const QString &filePath, CacheGeometry geom)
Definition
qcacheutils.cpp:24
QCacheUtils::readCachedConvexMesh
physx::PxConvexMesh * readCachedConvexMesh(const QString &filePath, physx::PxPhysics &physics)
Definition
qcacheutils.cpp:235
QCacheUtils::readCachedHeightField
physx::PxHeightField * readCachedHeightField(const QString &filePath, physx::PxPhysics &physics)
Definition
qcacheutils.cpp:245
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
physx
Definition
qphysxactorbody_p.h:22
qtquick3dphysics
src
quick3dphysics
qcacheutils_p.h
Generated on
for Qt by
1.18.0