lxgui
|
Holds a single color (byte RGBA, 32 bits) More...
#include <gui_color.hpp>
Public Types | |
using | chanel = unsigned char |
Public Attributes | |
chanel | r |
chanel | g |
chanel | b |
chanel | a |
Holds a single color (byte RGBA, 32 bits)
This has far less precision than color, but is the native data type of colors rendered on the screen, and it is commonly used for storage (texture files). Therefore, it should only be used when strictly necessary, and color should be preferred when color transformations or interpolations need to be computed.
Definition at line 76 of file gui_color.hpp.
using lxgui::gui::color32::chanel = unsigned char |
Definition at line 77 of file gui_color.hpp.
chanel lxgui::gui::color32::a |
Definition at line 79 of file gui_color.hpp.
chanel lxgui::gui::color32::b |
Definition at line 79 of file gui_color.hpp.
chanel lxgui::gui::color32::g |
Definition at line 79 of file gui_color.hpp.
chanel lxgui::gui::color32::r |
Definition at line 79 of file gui_color.hpp.