MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / GetKeyCount

Method GetKeyCount

Source/3rdParty/implot/implot_internal.h:415–415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413
414 inline const ImU32* GetKeys(ImPlotColormap cmap) const { return &Keys[KeyOffsets[cmap]]; }
415 inline int GetKeyCount(ImPlotColormap cmap) const { return KeyCounts[cmap]; }
416 inline ImU32 GetKeyColor(ImPlotColormap cmap, int idx) const { return Keys[KeyOffsets[cmap]+idx]; }
417 inline void SetKeyColor(ImPlotColormap cmap, int idx, ImU32 value) { Keys[KeyOffsets[cmap]+idx] = value; RebuildTables(); }
418

Callers 9

NextColormapColorU32Function · 0.80
GetColormapSizeFunction · 0.80
GetColormapColorU32Function · 0.80
ColormapScaleFunction · 0.80
ColormapSliderFunction · 0.80
ColormapButtonFunction · 0.80
ColormapIconFunction · 0.80
ShowStyleEditorFunction · 0.80
ShowMetricsWindowFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected