#include <rgba32.hpp>
Definition at line 9 of file rgba32.hpp.
◆ Rgba32() [1/2]
constexpr porytiles::Rgba32::Rgba32 |
( |
| ) |
|
|
inlineconstexpr |
◆ Rgba32() [2/2]
constexpr porytiles::Rgba32::Rgba32 |
( |
std::uint8_t |
red, |
|
|
std::uint8_t |
green, |
|
|
std::uint8_t |
blue, |
|
|
std::uint8_t |
alpha = kAlphaOpaque |
|
) |
| |
|
inlineconstexpr |
◆ alpha()
std::uint8_t porytiles::Rgba32::alpha |
( |
| ) |
const |
|
inline |
◆ blue()
std::uint8_t porytiles::Rgba32::blue |
( |
| ) |
const |
|
inline |
◆ EqualsIgnoringAlpha()
bool porytiles::Rgba32::EqualsIgnoringAlpha |
( |
const Rgba32 & |
other | ) |
const |
◆ green()
std::uint8_t porytiles::Rgba32::green |
( |
| ) |
const |
|
inline |
◆ operator<=>()
auto porytiles::Rgba32::operator<=> |
( |
const Rgba32 & |
rgba | ) |
const |
|
default |
◆ operator==()
bool porytiles::Rgba32::operator== |
( |
const Rgba32 & |
rgba | ) |
const |
|
default |
◆ red()
std::uint8_t porytiles::Rgba32::red |
( |
| ) |
const |
|
inline |
◆ ToJascStr()
std::string porytiles::Rgba32::ToJascStr |
( |
| ) |
const |
◆ kAlphaOpaque
constexpr std::uint8_t porytiles::Rgba32::kAlphaOpaque = 255 |
|
staticconstexpr |
◆ kAlphaTransparent
constexpr std::uint8_t porytiles::Rgba32::kAlphaTransparent = 0 |
|
staticconstexpr |
The documentation for this class was generated from the following files: