Object representing only the Alpha Channel in an RGBA color.
More...
#include <jngl/Alpha.hpp>
|
| Alpha (float alpha) |
|
uint8_t | u8 () const |
| 0...255
|
|
float | getAlpha () const |
| 0.0f ... 1.0f
|
|
void | setAlpha (float) |
| 0.0f ... 1.0f
|
|
|
static Alpha | u8 (uint8_t alpha) |
|
Object representing only the Alpha Channel in an RGBA color.
Definition at line 11 of file Alpha.hpp.
◆ Alpha()
- Parameters
-
Values over 1.0f will result in 1.0f and negatives will result in 0.0f.
The documentation for this class was generated from the following file: