struct mola::MolaVizImGui::SubWindowState

Overview

State built from WindowDescription and kept alive for the lifetime of the ImGui window. ImGui windows are identified by their title string.

struct SubWindowState
{
    // fields

    mola::gui::WindowDescription desc;
    int active_tab = 0;
    unsigned int fbo_id = 0;
    unsigned int fbo_texture = 0;
    int fbo_w = 0;
    int fbo_h = 0;
};

Fields

int active_tab = 0

Per-tab active index (ImGui tracks it, but we need it for first-use):

unsigned int fbo_id = 0

FBO handle for sensor-observation GL canvas (0 = not yet created). TODO: per-subwindow FBO for subwindow_update_visualization().