|
VoltMod
C++23 framework for CS2 server plugins
|
An RGBA color in the engine's byte order, as m_clrRender and glow colors hold it.
More...
#include <Color.hpp>
Public Member Functions | |
| bool | operator== (const Color &) const =default |
Public Attributes | |
| uint8_t | R = 255 |
| uint8_t | G = 255 |
| uint8_t | B = 255 |
| uint8_t | A = 255 |
An RGBA color in the engine's byte order, as m_clrRender and glow colors hold it.
A channel left out stays 255, so Color{} is opaque white, Color{255, 0, 0} is opaque red and Color{.A = 0} is invisible.
| uint8_t VoltMod::Color::A = 255 |
Definition at line 19 of file Color.hpp.
Referenced by VoltMod::KeyValues::Set(), and VoltMod::Entity::SetVisible().
| uint8_t VoltMod::Color::B = 255 |
Definition at line 18 of file Color.hpp.
Referenced by VoltMod::KeyValues::Set().
| uint8_t VoltMod::Color::G = 255 |
Definition at line 17 of file Color.hpp.
Referenced by VoltMod::KeyValues::Set().
| uint8_t VoltMod::Color::R = 255 |
Definition at line 16 of file Color.hpp.
Referenced by VoltMod::KeyValues::Set().