FastLED 3.10.8
Loading...
Searching...
No Matches

◆ withColorProfile()

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

Definition at line 275 of file options.h.

275 {
276#ifdef FL_IS_AVR
277 FL_STATIC_ASSERT(&Profile == nullptr, "Color profiles require the Channels API on a supported non-AVR platform");
278#endif
279 ChannelOptions options;
280#if FL_COLOR_PROFILE_RUNTIME
282 options.mColorProfile.mStaticProfile = &Profile;
283 options.mColorProfile.mRequested = true;
284#endif
285 return options;
286 }
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: