Hiding the IrrlichtDevice
Posted: Thu Dec 17, 2015 10:20 am
Hello everyone!
I have a question about hiding the IrrlichtDevice's window on creation of the device and displaying the window at some point of my choosing (this is not about the console device, as I already know how to deal with that). I am wondering if the only way that I will be able to do this is to create a native window beforehand and send that in via the SIrrlichtCreationParameters, or if there is another way to do this without having to touch the OS' native API. Using:
does not get me the result that I am after. In SIrrlichtCreationParameters, there is no option to hide the device, and in the documentation for IrrlichtDevice there is no hide() or show() functions for the device.
Is this possible without modifying the Irrlicht API or touching the OS' native API?
Thanks!
I have a question about hiding the IrrlichtDevice's window on creation of the device and displaying the window at some point of my choosing (this is not about the console device, as I already know how to deal with that). I am wondering if the only way that I will be able to do this is to create a native window beforehand and send that in via the SIrrlichtCreationParameters, or if there is another way to do this without having to touch the OS' native API. Using:
Code: Select all
irr::IrrlichtDevice* device = ...;
device->minimizeWindow( );
Is this possible without modifying the Irrlicht API or touching the OS' native API?
Thanks!