API reference
Preparing search index…

SFML

Interfaces

ImGuiIOView

Live writable view of ImGuiIO backed by native memory.

ImGuiStyleView

Live writable view of ImGuiStyle backed by native memory.

Variables

Version

Dear ImGui version string.

Functions

GetIO

Return the live writable ImGuiIO view.

GetStyle

Return the live writable ImGuiStyle view.

Init

Initialize ImGui and the imgui-sfml backend for a window.

IsInitialized

Return whether a window has an ImGui context.

ProcessEvent

Forward an sfml.js window event to ImGui.

Render

Flush recorded sfml.js draw calls and render ImGui on the window.

SetCurrentWindow

Make a window the current ImGui context.

Shutdown

Shut down the ImGui context of a window; does nothing when not initialized.

Update

Update ImGui frame state and start a new frame.

UpdateFontTexture

Rebuild the ImGui font texture; call after changing fonts.

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0