Brenta Engine 1.2
Loading...
Searching...
No Matches
brenta::Color Class Reference

Public Member Functions

 Color (float r, float g, float b, float a=1.0f)
 

Static Public Member Functions

static const Color red ()
 
static const Color green ()
 
static const Color blue ()
 
static const Color grey ()
 
static const Color yellow ()
 
static const Color white ()
 
static const Color black ()
 

Data Fields

float r
 
float g
 
float b
 
float a
 

Detailed Description

Definition at line 11 of file color.hpp.

Constructor & Destructor Documentation

◆ Color()

brenta::Color::Color ( float  r,
float  g,
float  b,
float  a = 1.0f 
)
inline

Definition at line 18 of file color.hpp.

Member Function Documentation

◆ black()

static const Color brenta::Color::black ( )
inlinestatic

Definition at line 33 of file color.hpp.

◆ blue()

static const Color brenta::Color::blue ( )
inlinestatic

Definition at line 25 of file color.hpp.

◆ green()

static const Color brenta::Color::green ( )
inlinestatic

Definition at line 23 of file color.hpp.

◆ grey()

static const Color brenta::Color::grey ( )
inlinestatic

Definition at line 27 of file color.hpp.

◆ red()

static const Color brenta::Color::red ( )
inlinestatic

Definition at line 21 of file color.hpp.

◆ white()

static const Color brenta::Color::white ( )
inlinestatic

Definition at line 31 of file color.hpp.

◆ yellow()

static const Color brenta::Color::yellow ( )
inlinestatic

Definition at line 29 of file color.hpp.

Field Documentation

◆ a

float brenta::Color::a

Definition at line 15 of file color.hpp.

◆ b

float brenta::Color::b

Definition at line 15 of file color.hpp.

◆ g

float brenta::Color::g

Definition at line 15 of file color.hpp.

◆ r

float brenta::Color::r

Definition at line 15 of file color.hpp.


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