Rendering into multiple windows on OSX possible?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
unlinked
Posts: 3
Joined: Fri Jan 22, 2016 7:00 pm

Rendering into multiple windows on OSX possible?

Post by unlinked »

Sorry for what might well be a newbie question.

I'm trying to use Irrlicht to render 3D into a section of a GUI for a cross platform (Windows/OSX) audio VST plugin. The plugin is a DLL/dylib and can be instantiated multiple times within a host application. The host creates an editor window for each instance, and each instance of my plugin must render into the window it is given.

I've created a child window inside each editor window and want to render a scene into each one. On Windows, following example 14, I've successfully managed to render different scenes into my instances' child windows, but I'm struggling to find an equivalent method on OSX, since the SExposedVideoData structure contains no NSView/NSWindow members for OSX and hence using irr::video::IVideoDriver::beginScene with different videodata each time seems like it wouldn't be possible.

Could someone familiar with the framework perhaps let me know whether it supports rendering into multiple windows on OSX?

Thanks,

Steve.
Post Reply