Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qstaticphysxobjects.cpp
Go to the documentation of this file.
1
// Copyright (C) 2023 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
#
include
"qstaticphysxobjects_p.h"
6
#
include
<
qassert
.
h
>
7
#
include
<
QGlobalStatic
>
8
#
include
<
new
>
9
10
QT_BEGIN_NAMESPACE
11
12
Q_GLOBAL_STATIC
(
StaticPhysXObjects
,
s_physx
);
13
14
StaticPhysXObjects
&
StaticPhysXObjects
::
getReference
()
15
{
16
return
*s_physx;
17
}
18
19
QT_END_NAMESPACE
Q_GLOBAL_STATIC
QT_BEGIN_NAMESPACE Q_GLOBAL_STATIC(StaticPhysXObjects, s_physx)
QT_BEGIN_NAMESPACE
#define QT_BEGIN_NAMESPACE
Definition
qtconfigmacros.h:161
QT_END_NAMESPACE
#define QT_END_NAMESPACE
Definition
qtconfigmacros.h:162
StaticPhysXObjects
Definition
qstaticphysxobjects_p.h:35
StaticPhysXObjects::getReference
static StaticPhysXObjects & getReference()
Definition
qstaticphysxobjects.cpp:14
qtquick3dphysics
src
quick3dphysics
qstaticphysxobjects.cpp
Generated on
for Qt by
1.16.1