RGBA color for HUD elements (linear space, straight alpha).
More...
#include <HudTypes.hpp>
|
| constexpr | HudColor ()=default |
| constexpr | HudColor (float r_, float g_, float b_, float a_=1.f) |
|
| float | r = 1.f |
| float | g = 1.f |
| float | b = 1.f |
| float | a = 1.f |
RGBA color for HUD elements (linear space, straight alpha).
◆ HudColor() [1/2]
◆ HudColor() [2/2]
| HudColor::HudColor |
( |
float | r_, |
|
|
float | g_, |
|
|
float | b_, |
|
|
float | a_ = 1.f ) |
|
inlineconstexpr |
◆ black()
◆ cyan()
◆ green()
◆ red()
◆ transparent()
| constexpr HudColor HudColor::transparent |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ white()
◆ yellow()
The documentation for this struct was generated from the following file: