MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / TableRemove

Method TableRemove

extern/imgui/imgui_tables.cpp:3481–3490  ·  view source on GitHub ↗

Remove Table (currently only used by TestEngine)

Source from the content-addressed store, hash-verified

3479
3480// Remove Table (currently only used by TestEngine)
3481void ImGui::TableRemove(ImGuiTable* table)
3482{
3483 //IMGUI_DEBUG_PRINT("TableRemove() id=0x%08X\n", table->ID);
3484 ImGuiContext& g = *GImGui;
3485 int table_idx = g.Tables.GetIndex(table);
3486 //memset(table->RawData.Data, 0, table->RawData.size_in_bytes());
3487 //memset(table, 0, sizeof(ImGuiTable));
3488 g.Tables.Remove(table->ID, table);
3489 g.TablesLastTimeActive[table_idx] = -1.0f;
3490}
3491
3492// Free up/compact internal Table buffers for when it gets unused
3493void ImGui::TableGcCompactTransientBuffers(ImGuiTable* table)

Callers

nothing calls this directly

Calls 2

GetIndexMethod · 0.80
RemoveMethod · 0.80

Tested by

no test coverage detected