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 "qshadernodeport_p.h"
5
6QT_BEGIN_NAMESPACE
7
8namespace Qt3DRender
9{
10QShaderNodePort::QShaderNodePort() noexcept
11 : direction(Output)
12{
13}
14
15bool operator==(const QShaderNodePort &lhs, const QShaderNodePort &rhs) noexcept
16{
17 return lhs.direction == rhs.direction
18 && lhs.name == rhs.name;
19}
20}
21
22QT_END_NAMESPACE
23

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