Details
-
Technical task
-
Resolution: Done
-
P2: Important
-
None
-
None
Description
Current data input could be improved by:
- Refactoring the API so that it doesn't require separate call from JavaScript to C++ (and back) for each Data Input value. Our original expectation was to have Data Inputs in the tens of inputs, but it seems in some cases there may be actually hundreds. If updated for each frame this amount of calls between JavaScript and C++ can start to impact performance.
- Changing the API to use typed arrays as much as possible. Typed arrays were introduced in Qt 5.5 due to the need from Qt Canvas 3D and provide a more optimal way of passing large amounts of (binary) data from JavaScript to C++.
Attachments
Issue Links
- relates to
-
QT3DS-3278 OpenGL based runtime development for Qt 3D Studio 2.4
- Closed
- resulted in
-
QT3DS-3759 Batch datainput value changes per-frame
- Closed