MCPcopy Create free account
hub / github.com/VictorGordan/opengl-tutorials / Clear

Function Clear

ImGUI GLFW Tutorial/imgui/imgui_internal.h:545–545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

543 ImVector<ImU32> Storage;
544 void Create(int sz) { Storage.resize((sz + 31) >> 5); memset(Storage.Data, 0, (size_t)Storage.Size * sizeof(Storage.Data[0])); }
545 void Clear() { Storage.clear(); }
546 bool TestBit(int n) const { IM_ASSERT(n < (Storage.Size << 5)); return ImBitArrayTestBit(Storage.Data, n); }
547 void SetBit(int n) { IM_ASSERT(n < (Storage.Size << 5)); ImBitArraySetBit(Storage.Data, n); }
548 void ClearBit(int n) { IM_ASSERT(n < (Storage.Size << 5)); ImBitArrayClearBit(Storage.Data, n); }

Callers 8

ImGuiPayloadMethod · 0.70
ImDrawDataMethod · 0.70
~ImFontAtlasMethod · 0.70
~ImPoolFunction · 0.70
ImGuiNavItemDataMethod · 0.70
ExampleAppLogMethod · 0.70
DrawFunction · 0.70

Calls 2

clearMethod · 0.45
ClearMethod · 0.45

Tested by

no test coverage detected