Use Opengl Texture generated outside in a QT3D viewport
Unsolved
Game Development
-
Hello every body,
I would like to use QT3D instead of my own OPENGL viewport based on QQuickFramebufferObject.
QT3D seems to be very powerful but i have some very specific requirements.
I need to use textures already present in VRAM that are generated by an other component. I have the GLuint of each textures and i need to set them in my QT3D / QML Material . The context is shared and using custom shader is easy but how to bind each sampler to this GLuint. How to shortcut Texture2D mechanism to just provide the GLuint? Is it possible ?
Thanks