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

Method GetMapSize

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

Source from the content-addressed store, hash-verified

672 int GetAliveCount() const { return AliveCount; } // Number of active/alive items in the pool (for display purpose)
673 int GetBufSize() const { return Buf.Size; }
674 int GetMapSize() const { return Map.Data.Size; } // It is the map we need iterate to find valid items, since we don't have "alive" storage anywhere
675 T* TryGetMapData(ImPoolIdx n) { int idx = Map.Data[n].val_i; if (idx == -1) return NULL; return GetByIndex(idx); }
676#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
677 int GetSize() { return GetMapSize(); } // For ImPlot: should use GetMapSize() from (IMGUI_VERSION_NUM >= 18304)

Callers 3

ShowMetricsWindowMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected