Files
AC6_recomp/src/ac6_native_graphics_overlay.h
T
salh 5bdc93d055 feat: wire AC6 native graphics runtime and bootstrap configure path
Run the native renderer every frame from AC6 present timing hooks with a visible runtime status overlay so migration progress is observable in-game. Also add a tracked CMake bootstrap include and migration mapping docs so fresh clones can configure before generated glue exists.

Made-with: Cursor
2026-04-17 21:48:36 +03:00

30 lines
575 B
C++

#pragma once
#include <memory>
#include <rex/ui/imgui_dialog.h>
namespace rex::ui {
class ImGuiDrawer;
}
namespace ac6::graphics {
class NativeGraphicsStatusDialog final : public rex::ui::ImGuiDialog {
public:
explicit NativeGraphicsStatusDialog(rex::ui::ImGuiDrawer* imgui_drawer);
~NativeGraphicsStatusDialog();
void Show() { visible_ = true; }
void ToggleVisible() { visible_ = !visible_; }
bool IsVisible() const { return visible_; }
protected:
void OnDraw(ImGuiIO& io) override;
private:
bool visible_ = false;
};
} // namespace ac6::graphics