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
4
#
include
"qstaticphysxobjects_p.h"
5
#
include
<
qassert
.
h
>
6
#
include
<
QGlobalStatic
>
7
#
include
<
new
>
8
9
QT_BEGIN_NAMESPACE
10
11
Q_GLOBAL_STATIC
(
StaticPhysXObjects
,
s_physx
);
12
13
StaticPhysXObjects
&
StaticPhysXObjects
::
getReference
()
14
{
15
return
*s_physx;
16
}
17
18
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:160
QT_END_NAMESPACE
#define QT_END_NAMESPACE
Definition
qtconfigmacros.h:161
StaticPhysXObjects
Definition
qstaticphysxobjects_p.h:34
StaticPhysXObjects::getReference
static StaticPhysXObjects & getReference()
Definition
qstaticphysxobjects.cpp:13
qtquick3dphysics
src
quick3dphysics
qstaticphysxobjects.cpp
Generated on
for Qt by
1.14.0