MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / Clear

Function Clear

extern/imgui/imgui_internal.h:602–602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

600 ImVector<ImU32> Storage;
601 void Create(int sz) { Storage.resize((sz + 31) >> 5); memset(Storage.Data, 0, (size_t)Storage.Size * sizeof(Storage.Data[0])); }
602 void Clear() { Storage.clear(); }
603 bool TestBit(int n) const { IM_ASSERT(n < (Storage.Size << 5)); return ImBitArrayTestBit(Storage.Data, n); }
604 void SetBit(int n) { IM_ASSERT(n < (Storage.Size << 5)); ImBitArraySetBit(Storage.Data, n); }
605 void ClearBit(int n) { IM_ASSERT(n < (Storage.Size << 5)); ImBitArrayClearBit(Storage.Data, n); }

Callers 9

ImGuiPayloadMethod · 0.85
ImDrawDataMethod · 0.85
~ImFontAtlasMethod · 0.85
~ImPoolMethod · 0.85
ImGuiKeyRoutingTableMethod · 0.85
ImGuiNavItemDataMethod · 0.85
ExampleAppLogMethod · 0.85
DrawFunction · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected