NeuralEngine A Game Engine with embeded Machine Learning algorithms based on Gaussian Processes. |

Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
NeuralEngine::MachineLearning::Color Class Reference
Collaboration diagram for NeuralEngine::MachineLearning::Color:
[legend]

## Public Member Functions
| Color (uint8_t r, uint8_t g, uint8_t b, uint8_t a=255)
| Color (const uint8_t *rgb, uint8_t a=255)
Color | alpha (uint8_t alpha) const
Color | gamma (float gamma) const
float | hue () const

## Static Public Member Functions
static Color | gray (uint8_t v)
static Color | hue (float hue)
static Color | cos (float hue)
static Color | index (uint8_t index, uint8_t density=16, float avoid=2.f, float range=2.f)
static Color | hash (const std::string &seed)
static Color | uniq (const std::string &name)

## Public Attributes
uint8_t | r
uint8_t | g
uint8_t | b
uint8_t | a

## Detailed Description

Definition at line 20 of file FgColor.h.

## Member Data Documentation

## ◆ r

uint8_t NeuralEngine::MachineLearning::Color::r

Definition at line 38 of file FgColor.h.

## ◆ g

uint8_t NeuralEngine::MachineLearning::Color::g

Definition at line 38 of file FgColor.h.

## ◆ b

uint8_t NeuralEngine::MachineLearning::Color::b

Definition at line 38 of file FgColor.h.

## ◆ a

uint8_t NeuralEngine::MachineLearning::Color::a

Definition at line 38 of file FgColor.h.

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

- FgColor.h