HPS::RGBAColor

class HPS::RGBAColor

Public Functions

inline HPS_INLINE bool operator!= (RGBAColor const &c) const

Determines RGBA non-equivalency between this object and argument.

Parameters

c – The color object to test against

Returns

true if the objects are not equivalent, false otherwise

inline HPS_INLINE bool operator== (RGBAColor const &c) const

Determines RGBA equivalency between this object and argument.

Parameters

c – The color object to test against

Returns

true if the objects are equivalent, false otherwise

Public Members

float alpha

Alpha component of this color object, from 0.0 to 1.0

float blue

Blue component of this color object, from 0.0 to 1.0

float green

Green component of this color object, from 0.0 to 1.0

float red

Red component of this color object, from 0.0 to 1.0