galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
galaxy::ui Namespace Reference

Functions

void imgui_init (const char *ini)
 Initialize ImGui context with galaxy.
 
void imgui_new_frame ()
 Begin setting up ImGui pass.
 
void imgui_render ()
 Render imgui.
 
void imgui_exit ()
 Destroy imgui context.
 
void imgui_rescale ()
 Bake a fixed style scale.
 

Function Documentation

◆ imgui_init()

void galaxy::ui::imgui_init ( const char * ini)

Initialize ImGui context with galaxy.

Parameters
iniLayout ini file. Can include a path.

Definition at line 164 of file ImGuiHelpers.cpp.

+ Here is the call graph for this function:

◆ imgui_new_frame()

void galaxy::ui::imgui_new_frame ( )

Begin setting up ImGui pass.

Definition at line 199 of file ImGuiHelpers.cpp.

◆ imgui_render()

void galaxy::ui::imgui_render ( )

Render imgui.

Definition at line 206 of file ImGuiHelpers.cpp.

◆ imgui_exit()

void galaxy::ui::imgui_exit ( )

Destroy imgui context.

Definition at line 220 of file ImGuiHelpers.cpp.

◆ imgui_rescale()

void galaxy::ui::imgui_rescale ( )

Bake a fixed style scale.

Recall on window scale change.

Definition at line 227 of file ImGuiHelpers.cpp.

+ Here is the caller graph for this function: