I need to render a native prerendered OpenGL texture in QtQuick application using Qt3D.
I render realtime a scene to a texture bound to a framebuffer using cuda. Then I want to show that rendered texture in the qml scene.
It seems, I have to somehow intervene into a render pass and call glBindTexture() on my texture GLuint.
Of course there is a workaround, I can load the texture from video memory to some buffer, then create QTexture2D and provide the data with QTextureImageDataGenerator. But it seems very inefficient.
So the question is how to bind an existing texture in Qt3D rendering pipeline.