I want to integrate irrlicht in a mobile device sdk, where all initializations (opengl) are allready carried out , is there a way where i could use irrlicht with existiing context (not created thru irrlich)
If this is possible i would be able to load assets , drawing the scenenode etc in irrlicht and i could use the engine in mobile devices also!!
A any clues
Can i use my own openGL Context and direct irrlicht there?
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: Can i use my own openGL Context and direct irrlicht ther
Which device requires you to use a predefined context? Anyway, passing in an external window (with opengl context) is possible. Just use the window parameter of the device creation. Just avoid to do any render setup in between Irrrlicht renders, as most Irrlicht functions either require a certain setup, or overwrite any other changes previously made.