Qt World Summit: Register Today!

Use Opengl Texture generated outside in a QT3D viewport

  • 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 ?

Log in to reply