Euphoria
Public Member Functions | Public Attributes | List of all members
eu::Color Struct Reference

Represents a color with an alpha component. The color is stored in gamma (non-linear) space (aka sRGB). More...

Public Member Functions

constexpr Color (const Rgb &a_rgb, float a_alpha=1.0f)
 

Public Attributes

Rgb rgb
 
float alpha
 

Detailed Description

Represents a color with an alpha component. The color is stored in gamma (non-linear) space (aka sRGB).

Definition at line 74 of file colors.h.

Constructor & Destructor Documentation

◆ Color()

constexpr eu::Color::Color ( const Rgb a_rgb,
float  a_alpha = 1.0f 
)
inlineconstexpr

Definition at line 79 of file colors.h.

Member Data Documentation

◆ alpha

float eu::Color::alpha

Definition at line 77 of file colors.h.

◆ rgb

Rgb eu::Color::rgb

Definition at line 76 of file colors.h.


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