carb::simplegui::kDockNodeFlagPassthruCentralNode
Defined in carb/simplegui/SimpleGuiTypes.h
-
const DockNodeFlags carb::simplegui::kDockNodeFlagPassthruCentralNode = 1 << 3
Enable passthru dockspace: 1) DockSpace() will render a ImGuiCol_WindowBg background covering everything excepted the Central Node when empty. Meaning the host window should probably use SetNextWindowBgAlpha(0.0f) prior to Begin() when using this. 2) When Central Node is empty: let inputs pass-through + won’t display a DockingEmptyBg background. See demo for details.