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

Represents color in gamma (non-linear) space (aka sRGB). More...

Public Member Functions

constexpr Rgb (float red, float green, float blue)
 

Public Attributes

float r
 
float g
 
float b
 

Detailed Description

Represents color in gamma (non-linear) space (aka sRGB).

See also
Lin_rgb

Definition at line 13 of file colors.h.

Constructor & Destructor Documentation

◆ Rgb()

constexpr eu::Rgb::Rgb ( float  red,
float  green,
float  blue 
)
inlineconstexpr

Definition at line 19 of file colors.h.

Member Data Documentation

◆ b

float eu::Rgb::b

Definition at line 17 of file colors.h.

◆ g

float eu::Rgb::g

Definition at line 16 of file colors.h.

◆ r

float eu::Rgb::r

Definition at line 15 of file colors.h.


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