Pixel structure.
More...
#include <Image.h>
|
| Pixel () |
| Default constructor. More...
|
|
| Pixel (const float &v) |
| Constructor. More...
|
|
| Pixel (const float &r, const float &g, const float &b) |
| Constructor. More...
|
|
| Pixel (const float &r, const float &g, const float &b, const float &a) |
| Constructor. More...
|
|
Pixel structure.
Definition at line 68 of file Image.h.
◆ Pixel() [1/4]
Hydrax::Image::Pixel::Pixel |
( |
| ) |
|
|
inline |
Default constructor.
Definition at line 72 of file Image.h.
◆ Pixel() [2/4]
Hydrax::Image::Pixel::Pixel |
( |
const float & |
v | ) |
|
|
inline |
Constructor.
- Parameters
-
Definition at line 83 of file Image.h.
◆ Pixel() [3/4]
Hydrax::Image::Pixel::Pixel |
( |
const float & |
r, |
|
|
const float & |
g, |
|
|
const float & |
b |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
r | Red value |
g | Green value |
b | Blue value |
Definition at line 97 of file Image.h.
◆ Pixel() [4/4]
Hydrax::Image::Pixel::Pixel |
( |
const float & |
r, |
|
|
const float & |
g, |
|
|
const float & |
b, |
|
|
const float & |
a |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
r | Red value |
g | Green value |
b | Blue value |
a | Alpha value |
Definition at line 113 of file Image.h.
◆ alpha
float Hydrax::Image::Pixel::alpha |
◆ blue
float Hydrax::Image::Pixel::blue |
◆ green
float Hydrax::Image::Pixel::green |
◆ red
float Hydrax::Image::Pixel::red |
The documentation for this struct was generated from the following file: