#include <MRColor.h>
|
| constexpr | Color () noexcept |
| |
| | Color (NoInit) noexcept |
| |
| constexpr | Color (int r, int g, int b, int a) noexcept |
| |
| constexpr | Color (int r, int g, int b) noexcept |
| |
| constexpr | Color (float r, float g, float b, float a) noexcept |
| | Using a separate overload instead of a default argument to produce better C bindings.
|
| |
| constexpr | Color (float r, float g, float b) noexcept |
| |
| constexpr unsigned int | getUInt32 () const noexcept |
| | Using a separate overload instead of a default argument to produce better C bindings.
|
| |
| template<typename T > |
| constexpr | Color (const Vector3< T > &vec) noexcept |
| |
| template<typename T > |
| constexpr | Color (const Vector4< T > &vec) noexcept |
| |
| template<typename T > |
| constexpr | operator Vector4< T > () const noexcept |
| |
| const uint8_t & | operator[] (int e) const |
| |
| uint8_t & | operator[] (int e) |
| |
| Color & | operator+= (const Color &other) |
| |
| Color & | operator-= (const Color &other) |
| |
| Color & | operator*= (float m) |
| |
| Color & | operator/= (float m) |
| |
| constexpr Color | scaledAlpha (float m) const noexcept |
| |
|
| uint8_t | r |
| |
| uint8_t | g |
| |
| uint8_t | b |
| |
| uint8_t | a |
| |
The documentation for this struct was generated from the following file: