|
ShitEngine
基于 C++20 与 SDL3 的轻量级 2D 游戏引擎
|
RGBA 颜色(每通道 8 位) 更多...
#include <Core.h>
Public 属性 | |
| std::uint8_t | red = 255 |
| std::uint8_t | green = 255 |
| std::uint8_t | blue = 255 |
| std::uint8_t | alpha = 255 |
RGBA 颜色(每通道 8 位)
用于 UIImage 等 UI 控件着色与按钮状态过渡。 变量名不缩写。
| std::uint8_t alpha = 255 |
| std::uint8_t blue = 255 |
| std::uint8_t green = 255 |
| std::uint8_t red = 255 |