summaryrefslogtreecommitdiffstats
path: root/src/runtime/Qt3DSIScriptBridge.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/Qt3DSIScriptBridge.h')
-rw-r--r--src/runtime/Qt3DSIScriptBridge.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/Qt3DSIScriptBridge.h b/src/runtime/Qt3DSIScriptBridge.h
index 246dc81..9eedfc5 100644
--- a/src/runtime/Qt3DSIScriptBridge.h
+++ b/src/runtime/Qt3DSIScriptBridge.h
@@ -38,6 +38,7 @@
#include <QtCore/qvariant.h>
#include <QtCore/qvector.h>
#include <QtCore/qstringlist.h>
+#include <QtGui/qopengl.h>
QT_BEGIN_NAMESPACE
class QQmlImageProviderBase;
@@ -189,6 +190,8 @@ public: // Elements
qt3ds::render::IBufferManager *bufferManager) = 0;
virtual uint textureId(const QString &elementPath,
qt3ds::render::IQt3DSRenderer *renderer) = 0;
+ virtual uint textureId(const QString &elementPath, qt3ds::render::IQt3DSRenderer *renderer,
+ QSize &size, GLenum &format) = 0;
public: // Components
virtual void GotoSlide(const char *component, const char *slideName,