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

Function PushColormap

Source/3rdParty/implot/implot.cpp:4599–4604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4597}
4598
4599void PushColormap(ImPlotColormap colormap) {
4600 ImPlotContext& gp = *GImPlot;
4601 IM_ASSERT_USER_ERROR(colormap >= 0 && colormap < gp.ColormapData.Count, "The colormap index is invalid!");
4602 gp.ColormapModifiers.push_back(gp.Style.Colormap);
4603 gp.Style.Colormap = colormap;
4604}
4605
4606void PushColormap(const char* name) {
4607 ImPlotContext& gp = *GImPlot;

Callers 7

Demo_BarStacksFunction · 0.85
Demo_PieChartsFunction · 0.85
Demo_HeatmapsFunction · 0.85
Demo_Histogram2DFunction · 0.85
Demo_TablesFunction · 0.85
Demo_OffsetAndStrideFunction · 0.85
Demo_CustomStylesFunction · 0.85

Calls 2

push_backMethod · 0.45
GetIndexMethod · 0.45

Tested by

no test coverage detected