Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Grindstone::EngineCore Class Reference

Classes

struct  CreateInfo
 

Public Member Functions

bool Initialize (CreateInfo &ci)
 
virtual void InitializeScene (bool shouldLoadSceneFromDefaults, const char *scenePath=nullptr)
 
virtual void ShowMainWindow ()
 
virtual void Run ()
 
virtual void RunEditorLoopIteration ()
 
virtual void RunLoopIteration ()
 
virtual void UpdateWindows ()
 
void RegisterGraphicsCore (GraphicsAPI::Core *)
 
virtual void RegisterInputManager (Input::Interface *)
 
virtual Input::InterfaceGetInputManager () const
 
virtual SceneManagement::SceneManagerGetSceneManager () const
 
virtual Plugins::ManagerGetPluginManager () const
 
virtual ECS::SystemRegistrarGetSystemRegistrar () const
 
virtual Events::DispatcherGetEventDispatcher () const
 
virtual ECS::ComponentRegistrarGetComponentRegistrar () const
 
virtual GraphicsAPI::CoreGetGraphicsCore () const
 
virtual Profiler::ManagerGetProfiler () const
 
virtual BaseRendererCreateRenderer (GraphicsAPI::RenderPass *targetRenderPass)
 
virtual std::filesystem::path GetProjectPath () const
 
virtual std::filesystem::path GetBinaryPath () const
 
virtual std::filesystem::path GetEngineBinaryPath () const
 
virtual std::filesystem::path GetAssetsPath () const
 
virtual std::filesystem::path GetEngineAssetsPath () const
 
virtual std::filesystem::path GetAssetPath (std::string subPath) const
 
virtual entt::registry & GetEntityRegistry ()
 
virtual void ReloadCsharpBinaries ()
 
virtual bool OnTryQuit (Grindstone::Events::BaseEvent *ev)
 
virtual bool OnForceQuit (Grindstone::Events::BaseEvent *ev)
 
virtual void CalculateDeltaTime ()
 
virtual double GetTimeSinceLaunch () const
 
virtual double GetDeltaTime () const
 

Static Public Member Functions

static EngineCoreGetInstance ()
 

Public Attributes

DisplayManagerdisplayManager = nullptr
 
WindowManagerwindowManager = nullptr
 
Assets::AssetManagerassetManager = nullptr
 
AssetRendererManagerassetRendererManager = nullptr
 
Profiler::Managerprofiler = nullptr
 
std::function< void()> callbackReloadCsharp
 
bool isEditor = false
 

The documentation for this class was generated from the following files: