MCPcopy Create free account
hub / github.com/RenderKit/embree / TablePopBackgroundChannel

Method TablePopBackgroundChannel

tutorials/common/imgui/imgui_tables.cpp:2249–2259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2247}
2248
2249void ImGui::TablePopBackgroundChannel()
2250{
2251 ImGuiContext& g = *GImGui;
2252 ImGuiWindow* window = g.CurrentWindow;
2253 ImGuiTable* table = g.CurrentTable;
2254 ImGuiTableColumn* column = &table->Columns[table->CurrentColumn];
2255
2256 // Optimization: avoid PopClipRect() + SetCurrentChannel()
2257 SetWindowClipRectBeforeSetChannel(window, table->HostBackupInnerClipRect);
2258 table->DrawSplitter->SetCurrentChannel(window->DrawList, column->DrawChannelCurrent);
2259}
2260
2261// Allocate draw channels. Called by TableUpdateLayout()
2262// - We allocate them following storage order instead of display order so reordering columns won't needlessly

Callers

nothing calls this directly

Calls 1

SetCurrentChannelMethod · 0.80

Tested by

no test coverage detected