Dmitriy
Dmitriy

Reputation: 161

pass QGLFrameBufferObject to ShaderEffectItem as Image

How can I bind QGLFrameBufferObject as an Image for the ShaderEffectItem in QML? QML documentation does not contain any examples of how to pass the processed image in qml script.

Upvotes: 0

Views: 45

Answers (1)

Nicol Bolas
Nicol Bolas

Reputation: 474226

You don't. You bind the textures that you put into the FBO as an image. Assuming those weren't renderbuffers, of course.

Upvotes: 1

Related Questions