Registry / other / imgui-sfml

imgui-sfml

JSON →
library3.0vcpkgunverified

ImGui binding for use with SFML.

vcpkg install imgui-sfml
INSTALL
IMPORT
SIG · IMGUI-SFML
I
imgui-sfml
othercppv3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

imgui-SFML.h
✓ #include <imgui-SFML.h>

Initialize ImGui with SFML, render a simple window.

#include <SFML/Graphics.hpp> #include <imgui-SFML.h> #include <imgui.h> int main() { sf::RenderWindow window(sf::VideoMode(800, 600), "ImGui + SFML"); ImGui::SFML::Init(window); sf::Clock deltaClock; while (window.isOpen()) { sf::Event event; while (window.pollEvent(event)) { ImGui::SFML::ProcessEvent(event); if (event.type == sf::Event::Closed) window.close(); } ImGui::SFML::Update(window, deltaClock.restart()); ImGui::Begin("Hello"); ImGui::Text("Hello, world!"); ImGui::End(); window.clear(); ImGui::SFML::Render(window); window.display(); } ImGui::SFML::Shutdown(); return 0; }
Debug
Known issues
gotchaRequires both SFML and ImGui as dependencies; version mismatches can cause issues.
fix
Ensure compatible versions of SFML and ImGui are used.
affects: all
Upgrade
Version history
3.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources

No resource links recorded.

imgui-sfml — pip install imgui-sfml · libregistry