PHP

search for


Last updated: Thu, 30 Oct 2008

IrrLib.DeviceIsRunning

IrrLib 1.X

IrrLib.DeviceIsRunningDetermine 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




Last updated: Thu, 30 Oct 2008
User Contributed Notes
IrrLib.DeviceIsRunning
Your name(or email):
Comment:
Security Code: CAPTCHA ImageReload Image