MCPcopy Create free account
hub / github.com/TheRealMJP/Shadows / SetColorMode

Function SetColorMode

Shadows/SampleFramework11/TwHelper.cpp:105–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105void SetColorMode(TwBar* bar, const char* varName, ColorMode mode)
106{
107 static const char* ColorModeStrings[] = { "rgb", "hls" };
108 TwCall(TwSetParam(bar, varName, "colormode", TW_PARAM_CSTRING, 1, ColorModeStrings[uint64(mode)]));
109}
110
111void SetUseArrowMode(TwBar* bar, const char* varName, bool32 useArrowMode, Float3 initialDirection)
112{

Callers

nothing calls this directly

Calls 1

TwCallFunction · 0.85

Tested by

no test coverage detected