liballofw
Public Member Functions | Public Attributes | List of all members
allofw::Color Struct Reference

Color struct. More...

#include <color.h>

Public Member Functions

 Color ()=default
 Default constructor, uninitialized. More...
 
 Color (float r_, float g_, float b_, float a_=1)
 Initialize with RGBA. More...
 

Public Attributes

float r
 RGBA. More...
 
float g
 
float b
 
float a
 

Detailed Description

Color struct.

Constructor & Destructor Documentation

allofw::Color::Color ( )
default

Default constructor, uninitialized.

allofw::Color::Color ( float  r_,
float  g_,
float  b_,
float  a_ = 1 
)
inline

Initialize with RGBA.

Member Data Documentation

float allofw::Color::a
float allofw::Color::b
float allofw::Color::g
float allofw::Color::r

RGBA.


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