1// Copyright (C) 2017 Klaralvdalens Datakonsult AB (KDAB).
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 "qshaderlanguage_p.h"
5
6#include <QtCore/qcoreapplication.h>
7
8QT_BEGIN_NAMESPACE
9
10namespace Qt3DRender
11{
12// Note: to be invoked explicitly. Relying for example on
13// Q_COREAPP_STARTUP_FUNCTION would not be acceptable in static builds.
14void qt_register_ShaderLanguage_enums()
15{
16 qRegisterMetaType<QShaderLanguage::StorageQualifier>();
17 qRegisterMetaType<QShaderLanguage::VariableType>();
18}
19}
20
21QT_END_NAMESPACE
22
23#include "moc_qshaderlanguage_p.cpp"
24

source code of qt3d/src/render/shadergraph/qshaderlanguage.cpp