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
8QT_BEGIN_NAMESPACE
9
10namespace Qt3DRender {
11namespace Quick {
12
13void Quick3DRender_initialize()
14{
15 Qt3DCore::QAbstractNodeFactory::registerNodeFactory(factory: QuickRenderNodeFactory::instance());
16}
17
18void 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
26QT_END_NAMESPACE
27

source code of qt3d/src/quick3d/quick3drender/qt3dquickrender_global.cpp