🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
ast::Color类 参考

#include <Color.hpp>

Public 成员函数

constexpr Color (color_t value) noexcept
 
constexpr Color (uint8_t r, uint8_t g, uint8_t b) noexcept
 
constexpr Color (uint8_t r, uint8_t g, uint8_t b, uint8_t a) noexcept
 
constexpr operator color_t () const noexcept
 
constexpr color_t value () const noexcept
 
A_CONSTEXPR_CXX14 color_t & value () noexcept
 

详细描述

颜色类

采用 RGBA 格式存储颜色值,每个分量占用 8 位(共4 字节)


该类的文档由以下文件生成: