diff options
author | Janne Kangas <janne.kangas@qt.io> | 2019-03-21 13:38:12 +0200 |
---|---|---|
committer | Janne Kangas <janne.kangas@qt.io> | 2019-04-16 09:28:11 +0000 |
commit | 54b0cb3a95edee5471d9899587040f82e0cb4819 (patch) | |
tree | 673f16b544bb6af27b190bf25a49569737bc6db0 /src/Runtime/Source/runtime/Qt3DSApplication.h | |
parent | c6edb9c7d15843e8ab965d365099ace29e2d2049 (diff) |
Implement datainput getter API for OpenGL runtime
Partially implements RT2 feature parity for datainput getters. (Min/max
property is not exposed to QML side.)
Task-id: QT3DS-3258
Change-Id: I9cce3e98289c3cac8d2c774bb53eb75f445b6e17
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/Runtime/Source/runtime/Qt3DSApplication.h')
-rw-r--r-- | src/Runtime/Source/runtime/Qt3DSApplication.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Runtime/Source/runtime/Qt3DSApplication.h b/src/Runtime/Source/runtime/Qt3DSApplication.h index d825fe0f..f0ccb175 100644 --- a/src/Runtime/Source/runtime/Qt3DSApplication.h +++ b/src/Runtime/Source/runtime/Qt3DSApplication.h @@ -37,6 +37,7 @@ #include "Qt3DSKernelTypes.h" #include "Qt3DSMetadata.h" #include "QtQml/qjsengine.h" +#include "q3dsdatainput.h" namespace Q3DStudio { class IRuntimeFactory; @@ -233,6 +234,13 @@ public: virtual bool createSuccessful() = 0; virtual DataInputMap &dataInputMap() = 0; + + virtual QList<QString> dataInputs() const = 0; + + virtual float dataInputMax(const QString &name) const = 0; + + virtual float dataInputMin(const QString &name) const = 0; + }; } } |