Loading...
Searching...
No Matches
Color.hpp
Go to the documentation of this file.
7// In no event will the authors be held liable for any damages arising from the use of this software.
constexpr Color operator-(Color left, Color right)
Overload of the binary operator-
constexpr Color(std::uint32_t color)
Construct the color from 32-bit unsigned integer.
constexpr Color & operator-=(Color &left, Color right)
Overload of the binary operator-=
constexpr Color operator*(Color left, Color right)
Overload of the binary operator*
constexpr Color(std::uint8_t red, std::uint8_t green, std::uint8_t blue, std::uint8_t alpha=255)
Construct the color from its 4 RGBA components.
constexpr Color & operator+=(Color &left, Color right)
Overload of the binary operator+=
constexpr Color operator+(Color left, Color right)
Overload of the binary operator+
constexpr Color & operator*=(Color &left, Color right)
Overload of the binary operator*=
constexpr std::uint32_t toInteger() const
Retrieve the color as a 32-bit unsigned integer.
Definition AudioResource.hpp:36