|
JNGL
Easy to use cross-platform 2D game library
|
Contains jngl::Rgba class. More...
Go to the source code of this file.
Classes | |
| class | Rgba |
| Object representing a RGBA color. More... | |
Namespaces | |
| namespace | jngl |
| JNGL's main namespace. | |
Functions | |
| Rgba | mix (Rgba a, Rgba b, float t) |
| Returns a color mix between a (t == 0) and b (t == 1) | |
| Rgba | interpolate (Rgba a, Rgba b, float t) |
| Old name for mix, will be removed in a future release. | |
| jngl::Rgba | operator""_rgba (unsigned long long) |
Create a jngl::Rgba object from a literal. E.g. 0x00ff00ff_rgba for green. | |
| void | invalid_rgba_color_literal_expected_format_hash_rrggbbaa () |
| consteval jngl::Rgba | operator""_rgba (const char *hex, size_t length) |
Create a jngl::Rgba object from a literal. E.g. "#00ff00ff"_rgba for green. | |
Contains jngl::Rgba class.
Definition in file Rgba.hpp.
|
consteval |
Create a jngl::Rgba object from a literal. E.g. "#00ff00ff"_rgba for green.