FastLED
3.9.15
Loading...
Searching...
No Matches
eorder.h
Go to the documentation of this file.
1
3
4
#pragma once
5
6
#include "
fl/gfx/eorder.h
"
7
8
// AMNESTY: fl::EOrder and fl::EOrderW are allowed in global scope via 'using'.
9
// These enum class types need global visibility for backward compatibility.
10
// Do not replace with a separate global plain enum — that would require
11
// static_cast everywhere the two enum types interact.
12
using
EOrder
=
fl::EOrder
;
// ok using
13
using
EOrderW
=
fl::EOrderW
;
// ok using
14
15
// Bring enum values into global scope as constexpr constants
16
// (enum class values can't be imported with 'using')
17
constexpr
EOrder
RGB
= EOrder::RGB;
18
constexpr
EOrder
RBG
= EOrder::RBG;
19
constexpr
EOrder
GRB
= EOrder::GRB;
20
constexpr
EOrder
GBR
= EOrder::GBR;
21
constexpr
EOrder
BRG
= EOrder::BRG;
22
constexpr
EOrder
BGR
= EOrder::BGR;
23
24
constexpr
EOrderW
W3
= EOrderW::W3;
25
constexpr
EOrderW
W2
= EOrderW::W2;
26
constexpr
EOrderW
W1
= EOrderW::W1;
27
constexpr
EOrderW
W0
= EOrderW::W0;
28
constexpr
EOrderW
WDefault
= EOrderW::WDefault;
BGR
constexpr EOrder BGR
Definition
eorder.h:22
RBG
constexpr EOrder RBG
Definition
eorder.h:18
W3
constexpr EOrderW W3
Definition
eorder.h:24
EOrderW
fl::EOrderW EOrderW
Definition
eorder.h:13
EOrder
fl::EOrder EOrder
Definition
eorder.h:12
W2
constexpr EOrderW W2
Definition
eorder.h:25
BRG
constexpr EOrder BRG
Definition
eorder.h:21
GRB
constexpr EOrder GRB
Definition
eorder.h:19
W0
constexpr EOrderW W0
Definition
eorder.h:27
RGB
constexpr EOrder RGB
Definition
eorder.h:17
GBR
constexpr EOrder GBR
Definition
eorder.h:20
W1
constexpr EOrderW W1
Definition
eorder.h:26
WDefault
constexpr EOrderW WDefault
Definition
eorder.h:28
eorder.h
fl::EOrder
EOrder
RGB color channel orderings, used when instantiating controllers to determine what order the controll...
Definition
eorder.h:13
fl::EOrderW
EOrderW
Definition
eorder.h:23
eorder.h
Generated on Tue Jun 16 2026 00:06:58 for FastLED by
1.13.2