U3D
Open-source, cross-platform 2D and 3D game engine built in C++
Loading...
Searching...
No Matches
Application.h File Reference
#include "../Core/Context.h"
#include "../Core/Main.h"
#include "../Engine/Engine.h"

Classes

class  Urho3D::Application
 Base class for creating applications which initialize the Urho3D engine and run a main loop until exited. More...
 

Macros

#define URHO3D_DEFINE_APPLICATION_MAIN(className)
 

Macro Definition Documentation

◆ URHO3D_DEFINE_APPLICATION_MAIN

#define URHO3D_DEFINE_APPLICATION_MAIN (   className)
Value:
int RunApplication() \
{ \
Urho3D::SharedPtr<className> application(new className(context)); \
return application->Run(); \
} \
URHO3D_DEFINE_MAIN(RunApplication())
Urho3D execution context. Provides access to subsystems, object factories and attributes,...
Definition: Context.h:67
Shared pointer template class with intrusive reference counting.
Definition: Ptr.h:37