summaryrefslogtreecommitdiffstats
path: root/src/render/backend/attachmentpack_p.h
diff options
context:
space:
mode:
authorRobert Brock <robert.brock@kdab.com>2016-02-24 18:03:48 +0000
committerPaul Lemire <paul.lemire@kdab.com>2016-03-02 10:53:48 +0000
commitc176624a4d065c9d05f927cb16ab1eb41cbc67e6 (patch)
treec29054a4399dd432d7fcf16bc0e58188899b8582 /src/render/backend/attachmentpack_p.h
parent135db92fd1a5e88db11a5e2a0b2c1d227b5a6117 (diff)
QRenderAttachment renamed RenderAttachmentType to AttachmentPoint
As per API review New name was better fitting to the actual description/usage Renamed point to attachmentPoint Change-Id: Id14a312acabdcc9bda49a4d30efe490342105660 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/backend/attachmentpack_p.h')
-rw-r--r--src/render/backend/attachmentpack_p.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/render/backend/attachmentpack_p.h b/src/render/backend/attachmentpack_p.h
index 0828bb94a..6a4a25a45 100644
--- a/src/render/backend/attachmentpack_p.h
+++ b/src/render/backend/attachmentpack_p.h
@@ -66,7 +66,7 @@ struct Attachment
int m_mipLevel;
int m_layer;
Qt3DCore::QNodeId m_textureUuid;
- QRenderAttachment::RenderAttachmentType m_type;
+ QRenderAttachment::AttachmentPoint m_point;
QRenderAttachment::CubeMapFace m_face;
};
@@ -77,13 +77,13 @@ public:
void addAttachment(const Attachment &attachment);
QVector<Attachment> attachments() const;
- QList<QRenderAttachment::RenderAttachmentType> drawBuffers() const;
+ QList<QRenderAttachment::AttachmentPoint> drawBuffers() const;
- void setDrawBuffers(const QList<QRenderAttachment::RenderAttachmentType> &drawBuffers);
+ void setDrawBuffers(const QList<QRenderAttachment::AttachmentPoint> &drawBuffers);
private:
QVector<Attachment> m_attachments;
- QList<QRenderAttachment::RenderAttachmentType> m_drawBuffers;
+ QList<QRenderAttachment::AttachmentPoint> m_drawBuffers;
};
} // namespace Render