Crimson Engine 1.0.0
A high-performance C++20 game engine prototype showcasing a custom ECS, Vulkan renderer, and ImGui editor.
Loading...
Searching...
No Matches
Plugin.hpp
Go to the documentation of this file.
1#pragma once
2#include "ecs/Registry.hpp"
6#include "core/EngineAPI.hpp"
7#include <imgui.h>
8
9#ifdef _WIN32
10 #define PLUGIN_API extern "C" __declspec(dllexport)
11#else
12 #define PLUGIN_API extern "C"
13#endif
14
26
27typedef void (*PluginInitFunc)(PluginContext*);
void(* PluginInitFunc)(PluginContext *)
Definition Plugin.hpp:27
void(* PluginShutdownFunc)(PluginContext *)
Definition Plugin.hpp:28
Coordinates entities and components, providing creation, removal, lookup, and views.
Definition Registry.hpp:30
Manages registration and sequential updating of active ECS systems.
Definition SystemManager.hpp:13
Manages core Vulkan pipeline states, device interaction, frames, buffers, and command submissions.
Definition VulkanRenderer.hpp:127
Struct keeping track of active editor states (e.g. fly mode vs editor UI interaction).
Definition EditorModeState.hpp:7
State container passed to dynamic libraries upon initialization.
Definition Plugin.hpp:19
SystemManager * systemManager
Definition Plugin.hpp:21
VulkanRenderer * renderer
Definition Plugin.hpp:22
ImGuiContext * imguiContext
Definition Plugin.hpp:24
Registry * registry
Definition Plugin.hpp:20
EditorModeState * editorMode
Definition Plugin.hpp:23