#include </home/runner/work/iros/iros/libs/diusgfx/include/diusgfx/color.h>
◆ Color() [1/2]
◆ Color() [2/2]
gfx::Color::Color |
( |
u8 | r, |
|
|
u8 | g, |
|
|
u8 | b, |
|
|
u8 | a = 255 ) |
|
inlineexplicitconstexpr |
◆ alpha()
auto gfx::Color::alpha |
( |
| ) |
const -> u8 |
|
inlineconstexpr |
◆ as_rgba32()
auto gfx::Color::as_rgba32 |
( |
| ) |
const -> RGBA32 |
|
inlineconstexpr |
◆ blue()
auto gfx::Color::blue |
( |
| ) |
const -> u8 |
|
inlineconstexpr |
◆ green()
auto gfx::Color::green |
( |
| ) |
const -> u8 |
|
inlineconstexpr |
◆ operator<=>()
auto gfx::Color::operator<=> |
( |
Color const & | | ) |
const |
|
default |
◆ operator==()
auto gfx::Color::operator== |
( |
Color const & | | ) |
const -> bool=default |
|
default |
◆ red()
auto gfx::Color::red |
( |
| ) |
const -> u8 |
|
inlineconstexpr |
◆ with_alpha()
auto gfx::Color::with_alpha |
( |
u8 | alpha | ) |
const -> Color |
|
inlineconstexpr |
◆ with_blue()
auto gfx::Color::with_blue |
( |
u8 | blue | ) |
const -> Color |
|
inlineconstexpr |
◆ with_green()
auto gfx::Color::with_green |
( |
u8 | green | ) |
const -> Color |
|
inlineconstexpr |
◆ with_red()
auto gfx::Color::with_red |
( |
u8 | red | ) |
const -> Color |
|
inlineconstexpr |
The documentation for this class was generated from the following file:
- libs/diusgfx/include/diusgfx/color.h