- [Main Page](index.md)
- [Classes](annotated.md)
- [Files](files.md)
- [Directories](dirs.md)
- [Related Pages](pages.md)
- [Class List](annotated.md)
- [Alphabetical List](classes.md)
- [Class Hierarchy](hierarchy.md)
- [Class Members](functions.md)
YAFloat Class Reference¶
#include <RGBFloat.h>
Public Member Functions |
|
| YAFloat (void) | |
| YAFloat (float luminance) | |
| YAFloat (float luminance, float alpha) | |
| YAFloat (const YAFloat &other) | |
| YAFloat (const YAHalf &other) | |
| YAFloat (const YAByte &other) | |
| YAFloat (const RGBAFloat &other) | |
| YAFloat (const RGBAHalf &other) | |
| YAFloat (const RGBAByte &other) | |
| YAFloat (const ColorBuf &other) | |
| YAFloat (const RGBHalf &other) | |
| YAFloat (const RGBByte &other) | |
| void * | operator new (size_t size) |
| void | operator delete (void *ptr) |
| YAFloat & | operator= (const YAFloat &other) |
| YAFloat & | operator+= (const YAFloat &other) |
| YAFloat & | operator-= (const YAFloat &other) |
| YAFloat & | operator *= (const YAFloat &other) |
| YAFloat & | operator *= (float scale) |
| YAFloat & | operator/= (const YAFloat &other) |
| YAFloat & | operator/= (float scale) |
| float | Luminance () const |
| float | Alpha () const |
| void | SetLuminance (float luminance) |
| void | SetAlpha (float alpha) |
| void | Set (float luminance, float alpha) |
| void | Set (float luminance) |
| void | Set (float red, float green, float blue, float alpha=1.0f) |
| void | SetNoAlpha (const float luminance) |
| int | operator== (const YAFloat &a) const |
| int | operator!= (const YAFloat &a) const |
| YAFloat | operator+ (const YAFloat &a) const |
| YAFloat | operator- (const YAFloat &a) const |
| YAFloat | operator * (const YAFloat &a) const |
| YAFloat | operator * (float s) const |
| YAFloat | operator/ (float s) const |
| YAFloat | operator/ (const YAFloat &a) const |
| float | operator[] (int i) const |
| BOOL | CheckOffBound (float lobound, float hibound) |
Public Attributes |
|
| float | m_luminance |
| float | m_alpha |
Friends |
|
| YAFloat | operator * (const float s, const YAFloat &a) |