|
Rerun C++ SDK
|
Component: An RGBA color with unmultiplied/separate alpha, in sRGB gamma space with linear alpha. More...
#include <rerun/components/color.hpp>
Public Member Functions | |
| Color (uint8_t r, uint8_t g, uint8_t b, uint8_t a=255) | |
| Construct Color from unmultiplied RGBA values. | |
| uint8_t | r () const |
| uint8_t | g () const |
| uint8_t | b () const |
| uint8_t | a () const |
| Color (rerun::datatypes::Rgba32 rgba_) | |
| Color & | operator= (rerun::datatypes::Rgba32 rgba_) |
| Color (uint32_t rgba_) | |
| Color & | operator= (uint32_t rgba_) |
| operator rerun::datatypes::Rgba32 () const | |
| Cast to the underlying Rgba32 datatype. | |
Public Attributes | |
| rerun::datatypes::Rgba32 | rgba |
Component: An RGBA color with unmultiplied/separate alpha, in sRGB gamma space with linear alpha.
The color is stored as a 32-bit integer, where the most significant byte is R and the least significant byte is A.