#include <Color.h>
|
constexpr | Color () noexcept |
|
constexpr | Color (const Color &a_rhs) noexcept |
|
constexpr | Color (Color &&a_rhs) noexcept |
|
constexpr | Color (std::uint8_t a_red, std::uint8_t a_green, std::uint8_t a_blue, std::uint8_t a_alpha) noexcept |
|
| ~Color () noexcept=default |
|
constexpr Color & | operator= (const Color &a_rhs) noexcept |
|
constexpr Color & | operator= (Color &&a_rhs) noexcept |
|
constexpr std::uint8_t & | operator[] (std::size_t a_idx) noexcept |
|
constexpr const std::uint8_t & | operator[] (std::size_t a_idx) const noexcept |
|
◆ anonymous enum
anonymous enum : std::size_t |
Enumerator |
---|
kRed | |
kGreen | |
kBlue | |
kAlpha | |
kTotal | |
◆ Color() [1/4]
constexpr RE::Color::Color |
( |
| ) |
|
|
inlineconstexprnoexcept |
◆ Color() [2/4]
constexpr RE::Color::Color |
( |
const Color & |
a_rhs | ) |
|
|
inlineconstexprnoexcept |
◆ Color() [3/4]
constexpr RE::Color::Color |
( |
Color && |
a_rhs | ) |
|
|
inlineconstexprnoexcept |
◆ Color() [4/4]
constexpr RE::Color::Color |
( |
std::uint8_t |
a_red, |
|
|
std::uint8_t |
a_green, |
|
|
std::uint8_t |
a_blue, |
|
|
std::uint8_t |
a_alpha |
|
) |
| |
|
inlineconstexprnoexcept |
◆ ~Color()
◆ operator=() [1/2]
constexpr Color & RE::Color::operator= |
( |
Color && |
a_rhs | ) |
|
|
inlineconstexprnoexcept |
◆ operator=() [2/2]
constexpr Color & RE::Color::operator= |
( |
const Color & |
a_rhs | ) |
|
|
inlineconstexprnoexcept |
◆ operator[]() [1/2]
constexpr const std::uint8_t & RE::Color::operator[] |
( |
std::size_t |
a_idx | ) |
const |
|
inlineconstexprnoexcept |
◆ operator[]() [2/2]
constexpr std::uint8_t & RE::Color::operator[] |
( |
std::size_t |
a_idx | ) |
|
|
inlineconstexprnoexcept |
◆ operator!=
constexpr bool operator!= |
( |
const Color & |
a_lhs, |
|
|
const Color & |
a_rhs |
|
) |
| |
|
friend |
◆ operator==
constexpr bool operator== |
( |
const Color & |
a_lhs, |
|
|
const Color & |
a_rhs |
|
) |
| |
|
friend |
◆ alpha
std::uint8_t RE::Color::alpha |
◆ blue
std::uint8_t RE::Color::blue |
◆ green
std::uint8_t RE::Color::green |
◆ red
std::uint8_t RE::Color::red |
The documentation for this struct was generated from the following file: