Page 1 of 1

Can i use my own openGL Context and direct irrlicht there?

Posted: Thu Nov 24, 2011 9:30 am
by three6t
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 :D any clues

Re: Can i use my own openGL Context and direct irrlicht ther

Posted: Thu Nov 24, 2011 3:50 pm
by hybrid
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.