Include OpenGL engine possible?

Hi,

is it possible to use a OpenGL engine with JUCE? I’d like to use Magnum (https://magnum.graphics/) inside a JUCE component? Any ideas how I could do that?

Best,
Thomas

I don’t know this particular engine but it should be possible to pass a window handle to the engine. The window will be used then as a rendering target. You can create a dummy component and get a pointer by getWindowHandle method. I use successfully this method with OpenGLES on small Linux distributions on embedded platforms. The drawback is that if you are going to use in the same time normal JUCE components, you will have to control manually all overlapping areas (managed by your OpenGL engine and managed by JUCE) as they will be repainted independently.