|
LIBEUNOMIA
|
RGBA32bit色情報クラス [詳解]
#include <colour.h>
公開メンバ関数 | |
| constexpr | RgbaColour () noexcept |
| 構築子 | |
| constexpr | RgbaColour (std::uint8_t r, std::uint8_t g, std::uint8_t b, std::uint8_t a) noexcept |
| 構築子 | |
| constexpr | RgbaColour (const RgbColour &rgb) noexcept |
| 構築子 | |
| operator RgbColour () const noexcept | |
| 變換 | |
| constexpr bool | operator== (const RgbaColour &other) const noexcept |
| 等價比較演算子 | |
| constexpr bool | operator!= (const RgbaColour &other) const noexcept |
| 非等價比較演算子 | |
公開変数類 | |
| std::uint8_t | red |
| 赤要素 | |
| std::uint8_t | green |
| 緑要素 | |
| std::uint8_t | blue |
| 青要素 | |
| std::uint8_t | alpha |
| アルファ値(不透過度) | |
RGBA32bit色情報クラス
|
inlineconstexprnoexcept |
構築子
RGBA(0, 0, 0, 255)で初期化する。
|
inlineconstexprnoexcept |
構築子
RGBA値を指定して初期化する。
構築子
|
inlineexplicitnoexcept |
變換
|
inlineconstexprnoexcept |
非等價比較演算子
|
inlineconstexprnoexcept |
等價比較演算子
| std::uint8_t eunomia::RgbaColour::alpha |
アルファ値(不透過度)
| std::uint8_t eunomia::RgbaColour::blue |
青要素
| std::uint8_t eunomia::RgbaColour::green |
緑要素
| std::uint8_t eunomia::RgbaColour::red |
赤要素