summaryrefslogtreecommitdiffstats
path: root/src/render/backend/rendertarget_p.h
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2015-08-31 15:14:17 +0100
committerSean Harmer <sean.harmer@kdab.com>2015-10-13 07:15:15 +0000
commitaf40840eedf35404ba4b39e890c158e2328ff6ec (patch)
treece4ac1f925c34b56704c99bd332e0436e68dbecc /src/render/backend/rendertarget_p.h
parent0269afd106da5d4d999585b3bdb1332a2c01af12 (diff)
Move Render aspect into the Qt3DRender namespace
Updated examples and tests accordingly. Change-Id: I8848a88472de2302aa072fa11f21ea934672b7e6 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/backend/rendertarget_p.h')
-rw-r--r--src/render/backend/rendertarget_p.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/render/backend/rendertarget_p.h b/src/render/backend/rendertarget_p.h
index 35b1ad674..ceb3fe3ce 100644
--- a/src/render/backend/rendertarget_p.h
+++ b/src/render/backend/rendertarget_p.h
@@ -34,8 +34,8 @@
**
****************************************************************************/
-#ifndef QT3D_RENDER_RENDERTARGET_H
-#define QT3D_RENDER_RENDERTARGET_H
+#ifndef QT3DRENDER_RENDER_RENDERTARGET_H
+#define QT3DRENDER_RENDER_RENDERTARGET_H
#include <Qt3DCore/qbackendnode.h>
#include <Qt3DCore/qnodeid.h>
@@ -43,7 +43,7 @@
QT_BEGIN_NAMESPACE
-namespace Qt3D {
+namespace Qt3DRender {
class QRenderTarget;
class QRenderAttachment;
@@ -52,29 +52,29 @@ namespace Render {
class RenderTargetManager;
-class RenderTarget : public QBackendNode
+class RenderTarget : public Qt3D::QBackendNode
{
public:
RenderTarget();
- void updateFromPeer(QNode *peer) Q_DECL_OVERRIDE;
+ void updateFromPeer(Qt3D::QNode *peer) Q_DECL_OVERRIDE;
void cleanup();
- void appendRenderAttachment(const QNodeId &attachmentId);
- void removeRenderAttachment(const QNodeId &attachmentId);
+ void appendRenderAttachment(const Qt3D::QNodeId &attachmentId);
+ void removeRenderAttachment(const Qt3D::QNodeId &attachmentId);
- QList<QNodeId> renderAttachments() const;
+ QList<Qt3D::QNodeId> renderAttachments() const;
- void sceneChangeEvent(const QSceneChangePtr &e) Q_DECL_OVERRIDE;
+ void sceneChangeEvent(const Qt3D::QSceneChangePtr &e) Q_DECL_OVERRIDE;
private:
- QList<QNodeId> m_renderAttachments;
+ QList<Qt3D::QNodeId> m_renderAttachments;
};
-} // Render
+} // namespace Render
-} // Qt3D
+} // namespace Qt3DRender
QT_END_NAMESPACE
-#endif // QT3D_RENDER_RENDERTARGET_H
+#endif // QT3DRENDER_RENDER_RENDERTARGET_H