RgbaHDR Struct Reference
Standard 128- or 256-bit RGBA pixel with floating-point red, green, blue, and alpha channels. More...
#include <Rgba.h>
Public Member Functions | |
| RgbaHDR (real_t r_=0, real_t g_=0, real_t b_=0, real_t a_=1) | |
| operator Vector3 () const | |
| operator Rgba32 () const | |
| real_t | luminance () const |
| RgbaHDR | operator* (real_t scalar) const |
| RgbaHDR & | operator*= (real_t scalar) |
| sets this rgba to { r * s, g * s, b * s, a } | |
Static Public Member Functions | |
| static RgbaHDR | fromVector (const Vector3 &v) |
Public Attributes | |
| union { | |
| struct { | |
| real_t r | |
| real_t g | |
| real_t b | |
| real_t a | |
| } | |
| real_t data [4] | |
| }; | |
Detailed Description
Standard 128- or 256-bit RGBA pixel with floating-point red, green, blue, and alpha channels.Definition at line 60 of file Rgba.h.
Constructor & Destructor Documentation
Member Function Documentation
| RgbaHDR::operator Vector3 | ( | ) | const [inline] |
| RgbaHDR::operator Rgba32 | ( | ) | const [inline] |
| real_t RgbaHDR::luminance | ( | ) | const [inline] |
Member Data Documentation
| union { ... } |
The documentation for this struct was generated from the following files:
Generated on 28 Feb 2009 for Milton by
1.5.6