summaryrefslogtreecommitdiffstats
path: root/src/render/framegraph/qfrustumculling.cpp
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2015-11-24 09:46:21 +0100
committerAndy Nichols <andy.nichols@theqtcompany.com>2015-11-24 16:53:30 +0000
commit1bb0e00500574800d64808c9d80c9aa9dffac79b (patch)
tree5a5da5cb954c25db532781e90d5ee7f45c475f02 /src/render/framegraph/qfrustumculling.cpp
parent96719e0bc3e8c320c2e11d656499adf9640cca07 (diff)
Add QFrustumCulling framegraph node
Change-Id: I6bdee01f898a477c4c24457de6ab774e03277365 Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
Diffstat (limited to 'src/render/framegraph/qfrustumculling.cpp')
-rw-r--r--src/render/framegraph/qfrustumculling.cpp56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/render/framegraph/qfrustumculling.cpp b/src/render/framegraph/qfrustumculling.cpp
new file mode 100644
index 000000000..4a8eefb49
--- /dev/null
+++ b/src/render/framegraph/qfrustumculling.cpp
@@ -0,0 +1,56 @@
+/****************************************************************************
+**
+** Copyright (C) 2015 Klaralvdalens Datakonsult AB (KDAB).
+** Contact: http://www.qt-project.org/legal
+**
+** This file is part of the Qt3D module of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL3$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and The Qt Company. For licensing terms
+** and conditions see http://www.qt.io/terms-conditions. For further
+** information use the contact form at http://www.qt.io/contact-us.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 3 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPLv3 included in the
+** packaging of this file. Please review the following information to
+** ensure the GNU Lesser General Public License version 3 requirements
+** will be met: https://www.gnu.org/licenses/lgpl.html.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 2.0 or later as published by the Free
+** Software Foundation and appearing in the file LICENSE.GPL included in
+** the packaging of this file. Please review the following information to
+** ensure the GNU General Public License version 2.0 requirements will be
+** met: http://www.gnu.org/licenses/gpl-2.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+#include "qfrustumculling.h"
+
+QT_BEGIN_NAMESPACE
+
+namespace Qt3DRender {
+
+QFrustumCulling::QFrustumCulling(Qt3DCore::QNode *parent)
+ : QFrameGraphNode(parent)
+{
+}
+
+QFrustumCulling::~QFrustumCulling()
+{
+ QFrameGraphNode::cleanup();
+}
+
+} // Qt3DRender
+
+QT_END_NAMESPACE
+