summaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-26 13:40:31 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-26 13:40:31 +1000
commite0a047ac1e2cf18c3b0f23f31f869eeda767503e (patch)
treea14e3eccec6e845778798fe24acc4c85f8e4da4b /src/core/core.h
parentb28de1c7c87683b0645368f5393734f1db4ffd74 (diff)
try getting glfw passthrough and egui to work
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/core/core.h b/src/core/core.h
index ac07c50..17561f3 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -26,11 +26,16 @@ struct Renderer;
Core* get_global_core();
-/** @brief Throws error if the core cannot be instantiated */
-void Core_Bringup();
+/**
+ @brief Throws error if the core cannot be instantiated
+ @param [in] optional_window - Leave NULL if you want Celeritas to instantiate its own window with GLFW, if you
+ want to provide the glfw window then pass it in here.
+*/
+void Core_Bringup(GLFWwindow* optional_window);
void Core_Shutdown();
bool ShouldExit();
+GLFWwindow* Core_GetGlfwWindowPtr(Core* core);
struct Renderer* Core_GetRenderer(Core* core);
void Frame_Begin();