Home
last modified time | relevance | path

Searched defs:ImPool (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/imgui/
Dimgui_internal.h266 struct IMGUI_API ImPool struct
270 ImPoolIdx FreeIdx; // Next free idx to use argument
272 ImPool() { FreeIdx = 0; } in ImPool() function
273 ~ImPool() { Clear(); } in ~ImPool() argument
275 T* GetByIndex(ImPoolIdx n) { return &Data[n]; } in GetByIndex() argument
276ImPoolIdx GetIndex(const T* p) const { IM_ASSERT(p >= Data.Data && p < Data.Data + Data… in GetIndex() argument
281 …void Remove(ImGuiID key, ImPoolIdx idx) { Data[idx].~T(); *(int*)&Data[idx] = FreeIdx; Fre… in Remove() argument
282 … Reserve(int capacity) { Data.reserve(capacity); Map.Data.reserve(capacity); } in Reserve()
283 int GetSize() const { return Data.Size; } in GetSize()