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

Method TableRemove

tutorials/common/imgui/imgui_tables.cpp:3482–3491  ·  view source on GitHub ↗

Remove Table (currently only used by TestEngine)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

GetIndexMethod · 0.80
RemoveMethod · 0.80

Tested by

no test coverage detected