This is the documentation for Enlighten.
struct Enlighten LinearColor
struct Enlighten::LinearColor
A 4-element colour stored in linear color space.
Variables
Name | Description |
---|---|
float A | The alpha component. |
float B | The blue component. |
float G | The green component. |
float R | The red component. |
Functions
Name | Description |
---|---|
LinearColor() | Empty constructor. |
LinearColor(float, float, float, float) | Constructor which copies the input values. |
Friends
Name | Description |
---|---|
friend bool operator!=(LinearColor left, LinearColor right) | Compares two instances for inequality. |
friend bool operator==(LinearColor left, LinearColor right) | Compares two instances for perfect equality. |
Enlighten::LinearColor::LinearColor
public: LinearColor()
Empty constructor.
Enlighten::LinearColor::LinearColor
public: LinearColor
(
  float r,
  float g,
  float b,
  float a
)
Constructor which copies the input values.