GPR5100 - Rollback
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
core::Color Struct Reference

Color is a struct defining an RGBA color with 4 bytes. More...

#include <color.h>

Public Member Functions

constexpr Color (std::uint8_t red, std::uint8_t green, std::uint8_t blue, std::uint8_t alpha=255u)
 
 operator sf::Color () const
 

Static Public Member Functions

static constexpr Color red ()
 
static constexpr Color green ()
 
static constexpr Color blue ()
 
static constexpr Color yellow ()
 
static constexpr Color black ()
 
static constexpr Color white ()
 
static constexpr Color magenta ()
 
static constexpr Color cyan ()
 
static constexpr Color transparent ()
 

Public Attributes

std::uint8_t r = 0u
 
std::uint8_t g = 0u
 
std::uint8_t b = 0u
 
std::uint8_t a = 0u
 

Detailed Description

Color is a struct defining an RGBA color with 4 bytes.


The documentation for this struct was generated from the following file: