FastLED 3.10.6
Loading...
Searching...
No Matches

◆ isColorManaged()

bool fl::Channel::isColorManaged ( ) const
inline

True when the streaming transform is actually installed in the output path, which is not the same question as hasColorProfile(): a binding can be accepted and still fail to build a usable pipeline, and that channel stays on the legacy path.

That difference is why both exist.

This was a hardcoded false with a note saying P6 would change it. P6 landed, mPipeline is built in reconcileColorProfile and read in showPixels, and the accessor was not updated – so it answered "no" on channels that were demonstrably transforming colour (#4328).

Definition at line 210 of file channel.h.

210 {
211#if FL_COLOR_PROFILE_RUNTIME
212 return mPipeline != nullptr;
213#else
214 return false;
215#endif
216 }

References fl::FL_NO_EXCEPT.