1// Copyright (C) 2016 The Qt Company Ltd and/or its subsidiary(-ies).
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 "gltfexporter.h"
5
6#include <private/qsceneexportplugin_p.h>
7
8QT_BEGIN_NAMESPACE
9
10class GLTFSceneExportPlugin : public Qt3DRender::QSceneExportPlugin
11{
12 Q_OBJECT
13 Q_PLUGIN_METADATA(IID QSceneExportFactoryInterface_iid FILE "gltfexport.json")
14
15 Qt3DRender::QSceneExporter *create(const QString &key, const QStringList &paramList) override
16 {
17 Q_UNUSED(key);
18 Q_UNUSED(paramList);
19 return new Qt3DRender::GLTFExporter();
20 }
21};
22
23QT_END_NAMESPACE
24
25#include "main.moc"
26

source code of qt3d/src/plugins/sceneparsers/gltfexport/main.cpp