1// Copyright (C) 2017 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#include "qt3dquickscene2d_global_p.h"
5#include "qt3dquickscene2dnodefactory_p.h"
6
7QT_BEGIN_NAMESPACE
8
9namespace Qt3DRender {
10namespace Quick {
11
12void Quick3DScene2D_initialize()
13{
14 Qt3DCore::QAbstractNodeFactory::registerNodeFactory(factory: QuickScene2DNodeFactory::instance());
15}
16
17void Quick3DScene2D_registerType(const char *className, const char *quickName, int major, int minor)
18{
19 QuickScene2DNodeFactory::instance()->registerType(className, quickName, major, minor);
20}
21
22} // namespace Quick
23} // namespace Qt3DRender
24
25QT_END_NAMESPACE
26

source code of qt3d/src/quick3d/quick3dscene2d/qt3dquickscene2d_global.cpp