IrrLib.DeviceIsRunning
IrrLib 1.X
IrrLib.DeviceIsRunning — Determine if Irrlicht is running
Description
bool IrrLib.DeviceIsRunning
(
)
Parameters
None
Return Values
Returns true if the Irrlicht is running
Examples
Example #1 Example #1 from SVN
#include <iostream> #include "IrrLib.h" #include <irrlicht.h> using namespace std; using namespace irr; using namespace core; using namespace scene; using namespace video; using namespace io; using namespace gui; int main(){ IrrLib Irrlicht(5, 640, 480, 16, false, true, false); while (Irrlicht.DeviceIsRunning()) if (Irrlicht.IsActiveWindow()) { Irrlicht.BeginScene(); Irrlicht.DrawAll(); Irrlicht.EndScene(); } Irrlicht.EndIrrlicht(); return 0; }
This is the first example from the SVN showing basic usage.
Notes
User Contributed Notes
IrrLib.DeviceIsRunning
IrrLib.DeviceIsRunning
