diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2015-11-03 17:38:10 +0100 |
---|---|---|
committer | Andy Nichols <andy.nichols@theqtcompany.com> | 2015-11-16 09:17:29 +0000 |
commit | 7c408322b4678d302e57615bbc58053ae78ad3e5 (patch) | |
tree | 0ee77a6be1b821225bf2571af17cf2b1120e6cbb /src/render/geometry/geometry_p.h | |
parent | 67b22593aa986ae011e5e61d0eb71ea6757b014d (diff) |
Geometry updated to copy properties from QBoundingVolumeSpecifier
Change-Id: I94e3cadb0ede77336b41f2241198b877b7dd57a7
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
Diffstat (limited to 'src/render/geometry/geometry_p.h')
-rw-r--r-- | src/render/geometry/geometry_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/geometry/geometry_p.h b/src/render/geometry/geometry_p.h index c43e7f5bd..c27f1f262 100644 --- a/src/render/geometry/geometry_p.h +++ b/src/render/geometry/geometry_p.h @@ -71,12 +71,14 @@ public: inline QVector<Qt3DCore::QNodeId> attributes() const { return m_attributes; } inline bool isDirty() const { return m_geometryDirty; } inline int verticesPerPatch() const { return m_verticesPerPatch; } + inline Qt3DCore::QNodeId boundingPositionAttribute() const { return m_boundingPositionAttribute; } void unsetDirty(); private: QVector<Qt3DCore::QNodeId> m_attributes; int m_verticesPerPatch; bool m_geometryDirty; + Qt3DCore::QNodeId m_boundingPositionAttribute; }; } // namespace Render |