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

#include <Color.hpp>

Public 成员函数

A_CONSTEXPR_CXX14 Color (EColor value) noexcept
 
A_CONSTEXPR_CXX14 Color (color_t value) noexcept
 
A_CONSTEXPR_CXX14 Color (uint8_t r, uint8_t g, uint8_t b) noexcept
 
A_CONSTEXPR_CXX14 Color (uint8_t r, uint8_t g, uint8_t b, uint8_t a) noexcept
 
A_CONSTEXPR_CXX14 operator EColor () const noexcept
 
A_CONSTEXPR_CXX14 EColor value () const noexcept
 
A_CONSTEXPR_CXX14 EColorvalue () noexcept
 

详细描述

颜色类

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


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