Euphoria
eu::Rgba Struct Reference

#include <rgb.h>

Public Member Functions

 Rgba (float red, float green, float blue, float alpha=1.0f)
 
 Rgba (const Rgb &c, float alpha=1.0f)
 

Public Attributes

float r
 
float g
 
float b
 
float a
 

Detailed Description

Definition at line 142 of file rgb.h.

Constructor & Destructor Documentation

◆ Rgba() [1/2]

eu::Rgba::Rgba ( float  red,
float  green,
float  blue,
float  alpha = 1.0f 
)

Definition at line 163 of file rgb.cc.

◆ Rgba() [2/2]

eu::Rgba::Rgba ( const Rgb c,
float  alpha = 1.0f 
)

Definition at line 157 of file rgb.cc.

Member Data Documentation

◆ a

float eu::Rgba::a

Definition at line 147 of file rgb.h.

◆ b

float eu::Rgba::b

Definition at line 146 of file rgb.h.

◆ g

float eu::Rgba::g

Definition at line 145 of file rgb.h.

◆ r

float eu::Rgba::r

Definition at line 144 of file rgb.h.


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