MCPcopy Create free account
hub / github.com/brenocq/implot3d / GetColormapColor

Function GetColormapColor

implot3d.cpp:3238–3238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3236}
3237
3238ImVec4 GetColormapColor(int idx, ImPlot3DColormap cmap) { return ImGui::ColorConvertU32ToFloat4(GetColormapColorU32(idx, cmap)); }
3239
3240ImU32 SampleColormapU32(float t, ImPlot3DColormap cmap) {
3241 ImPlot3DContext& gp = *GImPlot3D;

Callers 3

DemoScatterPlotsFunction · 0.85
DemoTrianglePlotsFunction · 0.85
DemoSurfacePlotsFunction · 0.85

Calls 1

GetColormapColorU32Function · 0.85

Tested by

no test coverage detected