projectM-visualizer / projectm

projectM - Cross-platform Music Visualization Library. Open-source and Milkdrop-compatible.
https://discord.gg/mMrxAqaa3W
GNU Lesser General Public License v2.1
3.22k stars 365 forks source link

Add custom FBO rendering function #815

Closed kblaschke closed 3 weeks ago

kblaschke commented 3 weeks ago

Added a new API function projectm_opengl_render_frame_fbo() to pass an optional custom OpenGL FBO ID for the final rendering output copy operation. This will allow users to render to an offscreen texture or a framebuffer provided by the embedding application's drawing subsystem, e.g. Qt.