1 | // Copyright (C) 2014 Klaralvdalens Datakonsult AB (KDAB). |
---|---|
2 | // Copyright (C) 2016 The Qt Company Ltd and/or its subsidiary(-ies). |
3 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
4 | |
5 | #include <Qt3DQuickRender/private/qt3dquickrender_global_p.h> |
6 | #include <Qt3DQuickRender/private/qt3dquickrendernodefactory_p.h> |
7 | |
8 | QT_BEGIN_NAMESPACE |
9 | |
10 | namespace Qt3DRender { |
11 | namespace Quick { |
12 | |
13 | void Quick3DRender_initialize() |
14 | { |
15 | Qt3DCore::QAbstractNodeFactory::registerNodeFactory(factory: QuickRenderNodeFactory::instance()); |
16 | } |
17 | |
18 | void Quick3DRender_registerType(const char *className, const char *quickName, int major, int minor) |
19 | { |
20 | QuickRenderNodeFactory::instance()->registerType(className, quickName, major, minor); |
21 | } |
22 | |
23 | } // namespace Quick |
24 | } // namespace Qt3DRender |
25 | |
26 | QT_END_NAMESPACE |
27 |