FastLED 3.10.10
Loading...
Searching...
No Matches

◆ withColorProfile()

template<const EmitterProfile & Profile>
static ChannelOptions fl::ChannelOptions::withColorProfile ( )
inlinestatic

Definition at line 277 of file options.h.

277 {
278#ifdef FL_IS_AVR
279 FL_STATIC_ASSERT(&Profile == nullptr, "Color profiles require the Channels API on a supported non-AVR platform");
280#endif
281 ChannelOptions options;
282#if FL_COLOR_PROFILE_RUNTIME
284 options.mColorProfile.mStaticProfile = &Profile;
285 options.mColorProfile.mRequested = true;
286#endif
287 return options;
288 }
void installColorPipelineHooks() FL_NO_EXCEPT
Point the hooks at the real implementations.
#define FL_STATIC_ASSERT(...)

References fl::FL_NO_EXCEPT, FL_STATIC_ASSERT, fl::installColorPipelineHooks(), and withColorProfile().

Referenced by withColorProfile().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: