Porytiles
Loading...
Searching...
No Matches
rgba32.hpp File Reference
#include <cstdint>
#include <string>
Include dependency graph for rgba32.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  porytiles::Rgba32
 
struct  std::hash< porytiles::Rgba32 >
 

Namespaces

namespace  porytiles
 

Functions

auto porytiles::format_as (const Rgba32 &rgba)
 

Variables

constexpr Rgba32 porytiles::kRgbaBlack {0, 0, 0, Rgba32::kAlphaOpaque}
 
constexpr Rgba32 porytiles::kRgbaWhite {255, 255, 255, Rgba32::kAlphaOpaque}
 
constexpr Rgba32 porytiles::kRgbaGrey {128, 128, 128, Rgba32::kAlphaOpaque}
 
constexpr Rgba32 porytiles::kRgbaRed {255, 0, 0, Rgba32::kAlphaOpaque}
 
constexpr Rgba32 porytiles::kRgbaGreen {0, 255, 0, Rgba32::kAlphaOpaque}
 
constexpr Rgba32 porytiles::kRgbaBlue {0, 0, 255, Rgba32::kAlphaOpaque}
 
constexpr Rgba32 porytiles::kRgbaYellow {255, 255, 0, Rgba32::kAlphaOpaque}
 
constexpr Rgba32 porytiles::kRgbaMagenta {255, 0, 255, Rgba32::kAlphaOpaque}
 
constexpr Rgba32 porytiles::kRgbaCyan {0, 255, 255, Rgba32::kAlphaOpaque}
 
constexpr Rgba32 porytiles::kRgbaPurple {128, 0, 255, Rgba32::kAlphaOpaque}
 
constexpr Rgba32 porytiles::kRgbaLime {128, 255, 128, Rgba32::kAlphaOpaque}