summaryrefslogtreecommitdiffstats
path: root/src/render/jobs/frustumcullingjob_p.h
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2016-09-06 16:32:00 +0200
committerPaul Lemire <paul.lemire@kdab.com>2016-11-23 20:53:54 +0000
commite5f36086a2fb8bbafdfdfd2cec693c7dbc54ea10 (patch)
tree19e1ea9b572234529199afd34e51e74cf931bc53 /src/render/jobs/frustumcullingjob_p.h
parent6dafb50e7409b59926058662e3cb4f0cfcacb89e (diff)
FrustumCullingJob: add getter for unit tests
Change-Id: Ic97e67f41c90034b2abb3a057c8f95e29225c01f Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
Diffstat (limited to 'src/render/jobs/frustumcullingjob_p.h')
-rw-r--r--src/render/jobs/frustumcullingjob_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/jobs/frustumcullingjob_p.h b/src/render/jobs/frustumcullingjob_p.h
index cb4b38b2b..ebd870937 100644
--- a/src/render/jobs/frustumcullingjob_p.h
+++ b/src/render/jobs/frustumcullingjob_p.h
@@ -71,7 +71,9 @@ public:
inline void setRoot(Entity *root) Q_DECL_NOTHROW { m_root = root; }
inline void setActive(bool active) Q_DECL_NOTHROW { m_active = active; }
+ inline bool isActive() const Q_DECL_NOTHROW { return m_active; }
inline void setViewProjection(const QMatrix4x4 &viewProjection) Q_DECL_NOTHROW { m_viewProjection = viewProjection; }
+ inline QMatrix4x4 viewProjection() const Q_DECL_NOTHROW { return m_viewProjection; }
QVector<Entity *> visibleEntities() const Q_DECL_NOTHROW { return m_visibleEntities; }