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

Classes

struct  EarlyCreateInfo
struct  LateCreateInfo

Public Member Functions

virtual bool EarlyInitialize (EarlyCreateInfo &ci)
virtual bool Initialize (LateCreateInfo &createInfo)
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::Interface * GetInputManager () const
virtual SceneManagement::SceneManager * GetSceneManager () const
virtual Plugins::IPluginManager * GetPluginManager () const
virtual Plugins::Interface * GetPluginInterface () const
virtual ECS::SystemRegistrar * GetSystemRegistrar () const
virtual Events::Dispatcher * GetEventDispatcher () const
virtual ECS::ComponentRegistrar * GetComponentRegistrar () const
virtual GraphicsAPI::Core * GetGraphicsCore () const
virtual Profiler::Manager * GetProfiler () const
virtual RenderPassRegistry * GetRenderPassRegistry () const
virtual WorldContextManager * GetWorldContextManager () const
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 Renderer::RenderingPipeline * GetRenderingPipeline () const
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
virtual void PushDeletion (std::function< void()> fn)
virtual void ForceDeleteAllDeferred ()
template<typename T, typename... Args>
void RegisterServiceEmplaced (Args &&... params)
template<typename T>
void RegisterService (T *instance)
template<typename T>
void UnregisterService ()
template<typename T>
T * TryGetService ()

Static Public Member Functions

static EngineCore & GetInstance ()
static void SetInstance (EngineCore &engineCore)

Public Attributes

DisplayManager * displayManager = nullptr
WindowManager * windowManager = nullptr
Assets::AssetManager * assetManager = nullptr
AssetRendererManager * assetRendererManager = nullptr
WorldContextManager * worldContextManager = nullptr
Profiler::Manager * profiler = nullptr
bool isEditor = false

The documentation for this class was generated from the following files:
  • /github/workspace/sources/code/EngineCore/EngineCore.hpp
  • /github/workspace/sources/code/EngineCore/EngineCore.cpp
  • /github/workspace/sources/code/EngineCore/EngineCoreInstance.cpp