summaryrefslogtreecommitdiffstats
path: root/src/render/frontend/qcameralens_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/frontend/qcameralens_p.h')
-rw-r--r--src/render/frontend/qcameralens_p.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/render/frontend/qcameralens_p.h b/src/render/frontend/qcameralens_p.h
index ecaa45b68..d78579b70 100644
--- a/src/render/frontend/qcameralens_p.h
+++ b/src/render/frontend/qcameralens_p.h
@@ -51,7 +51,8 @@
// We mean it.
//
-#include <Qt3DCore/private/qcomponent_p.h>
+#include <private/qcomponent_p.h>
+#include <private/qnodecommand_p.h>
#include "qcameralens.h"
#include <Qt3DCore/qpropertyupdatedchange.h>
@@ -101,6 +102,11 @@ public:
mutable QMatrix4x4 m_projectionMatrix;
+ float m_exposure;
+
+ Qt3DCore::QNodeCommand::CommandId m_pendingViewAllCommand;
+ void processViewAllCommand(Qt3DCore::QNodeCommand::CommandId commandId, const QVariant &data);
+
private:
inline void updatePerpectiveProjection()
{
@@ -130,6 +136,7 @@ private:
struct QCameraLensData
{
QMatrix4x4 projectionMatrix;
+ float exposure;
};
} // namespace Qt3DRender