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