Sign in Sign up
kretrod/lodestone-cpp Public
Branches
main
13 lines (9 loc) · 399 Bytes Raw
// The menu, drawn with Dear ImGui inside the game's own OpenGL context.
#pragma once

namespace lodestone::overlay {

/// Draw one frame. Safe to call before initialisation: the first call sets
/// ImGui up in the context that is current right now.
void frame(void* glfw_window);

/// Tear the renderer down again, leaving no GL objects behind.
void shutdown();

}  // namespace lodestone::overlay