CreateContext

Context creation and access - Each context create its own ImFontAtlas by default. You may instance one yourself and pass it to CreateContext() to share a font atlas between contexts. - DLL users: heaps and globals are not shared across DLL boundaries! You will need to call SetCurrentContext() + SetAllocatorFunctions() for each static/DLL boundary you are calling from. Read "Context and Memory Allocators" section of imgui.cpp for details.

pure @nogc nothrow @trusted
ImGuiContext*
CreateContext
(
scope ImFontAtlas* shared_font_atlas
)

Meta