|
|
constexpr | Color (SDL_Color const &sdlColor) noexcept |
|
constexpr | Color (VkClearColorValue const &clearColorValue) noexcept |
|
constexpr | Color (glm::vec4 const &vec4) noexcept |
|
constexpr | Color (uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha=255) noexcept |
|
constexpr | Color (uint32_t color) noexcept |
|
constexpr | operator SDL_Color () const |
|
constexpr | operator VkClearColorValue () const |
|
constexpr | operator glm::vec4 () const |
|
constexpr | operator glm::uvec4 () const |
|
constexpr | operator uint32_t () const |
|
constexpr uint32_t | toInteger () const |
|
constexpr bool | operator== (Color const &right) const |
|
constexpr bool | operator!= (Color const &right) const |
|
constexpr Color | operator+ (Color const &right) const |
|
constexpr Color | operator- (Color const &right) const |
|
constexpr Color | operator* (Color const &right) const |
|
constexpr Color & | operator+= (Color const &right) |
|
constexpr Color & | operator-= (Color const &right) |
|
constexpr Color & | operator*= (Color const &right) |
|
constexpr Color | setAlpha (uint8_t alpha) const |
|
constexpr Color | setRed (uint8_t red) const |
|
constexpr Color | setGreen (uint8_t green) const |
|
constexpr Color | setBlue (uint8_t blue) const |
|
|
uint8_t | _r |
|
uint8_t | _g |
|
uint8_t | _b |
|
uint8_t | _a |
|
| static Color const | Black |
| | Black predefined color.
|
| static Color const | White |
| | White predefined color.
|
| static Color const | Red |
| | Red predefined color.
|
| static Color const | Green |
| | Green predefined color.
|
| static Color const | Blue |
| | Blue predefined color.
|
| static Color const | Yellow |
| | Yellow predefined color.
|
| static Color const | Magenta |
| | Magenta predefined color.
|
| static Color const | Cyan |
| | Cyan predefined color.
|
| static Color const | Transparent |
| | Transparent (black) predefined color.
|
◆ Black
| Color const fge::Color::Black |
|
inlinestatic |
◆ Blue
| Color const fge::Color::Blue |
|
inlinestatic |
◆ Cyan
| Color const fge::Color::Cyan |
|
inlinestatic |
◆ Green
| Color const fge::Color::Green |
|
inlinestatic |
◆ Magenta
| Color const fge::Color::Magenta |
|
inlinestatic |
Magenta predefined color.
◆ Red
| Color const fge::Color::Red |
|
inlinestatic |
◆ Transparent
| Color const fge::Color::Transparent |
|
inlinestatic |
Transparent (black) predefined color.
◆ White
| Color const fge::Color::White |
|
inlinestatic |
◆ Yellow
| Color const fge::Color::Yellow |
|
inlinestatic |
The documentation for this class was generated from the following file: