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

Function Clear

tutorials/common/imgui/imgui_internal.h:588–588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

586 ImVector<ImU32> Storage;
587 void Create(int sz) { Storage.resize((sz + 31) >> 5); memset(Storage.Data, 0, (size_t)Storage.Size * sizeof(Storage.Data[0])); }
588 void Clear() { Storage.clear(); }
589 bool TestBit(int n) const { IM_ASSERT(n < (Storage.Size << 5)); return ImBitArrayTestBit(Storage.Data, n); }
590 void SetBit(int n) { IM_ASSERT(n < (Storage.Size << 5)); ImBitArraySetBit(Storage.Data, n); }
591 void ClearBit(int n) { IM_ASSERT(n < (Storage.Size << 5)); ImBitArrayClearBit(Storage.Data, n); }

Callers 7

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

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected