JNGL
Easy to use cross-platform 2D game library
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
Rgba.hpp File Reference

Contains jngl::Rgba class. More...

#include "Rgb.hpp"
#include <cstdint>
Include dependency graph for Rgba.hpp:
This graph shows which files directly or indirectly include this file:

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 interpolate (Rgba a, Rgba b, float t)
 Returns a color mix between a (t == 0) and b (t == 1)
 
jngl::Rgba operator""_rgba (unsigned long long)
 Create a jngl::Rgba object from a literal. E.g. 0x00ff00_rgb for green.
 

Detailed Description

Contains jngl::Rgba class.

Definition in file Rgba.hpp.