#include <color.h>
|
| ColorHSLA () |
|
ColorHSLA | UnclampLighting (float Darkest) const |
|
unsigned | Pack (bool Alpha=true) const |
|
unsigned | Pack (float Darkest, bool Alpha=false) const |
|
| color4_base () |
|
| color4_base (const vec4 &v4) |
|
| color4_base (const vec3 &v3) |
|
| color4_base (float nx, float ny, float nz, float na) |
|
| color4_base (float nx, float ny, float nz) |
|
| color4_base (unsigned col, bool alpha=false) |
|
| color4_base () |
|
| color4_base (const vec4 &v4) |
|
| color4_base (const vec3 &v3) |
|
| color4_base (float nx, float ny, float nz, float na) |
|
| color4_base (float nx, float ny, float nz) |
|
| color4_base (unsigned col, bool alpha=false) |
|
vec4 | v4 () const |
|
| operator vec4 () const |
|
float & | operator[] (int index) |
|
bool | operator== (const color4_base &col) const |
|
bool | operator!= (const color4_base &col) const |
|
unsigned | Pack (bool Alpha=true) const |
|
unsigned | PackAlphaLast (bool Alpha=true) const |
|
ColorHSLA | WithAlpha (float alpha) const |
|
ColorHSLA | WithMultipliedAlpha (float alpha) const |
|
ColorHSLA | Multiply (const ColorHSLA &Other) const |
|
|
static UnpackT | UnpackAlphaLast (unsigned Color, bool Alpha=true) |
|
float | x |
|
float | r |
|
float | h |
|
union { |
float x |
|
float r |
|
float h |
|
}; | |
|
float | y |
|
float | g |
|
float | s |
|
union { |
float y |
|
float g |
|
float s |
|
}; | |
|
float | z |
|
float | b |
|
float | l |
|
float | v |
|
union { |
float z |
|
float b |
|
float l |
|
float v |
|
}; | |
|
float | w |
|
float | a |
|
union { |
float w |
|
float a |
|
}; | |
|
◆ ColorHSLA()
◆ color4_base() [1/6]
◆ color4_base() [2/6]
◆ color4_base() [3/6]
◆ color4_base() [4/6]
◆ color4_base() [5/6]
◆ color4_base() [6/6]
◆ Pack() [1/2]
unsigned ColorHSLA::Pack |
( |
bool |
Alpha = true | ) |
const |
|
inline |
◆ Pack() [2/2]
unsigned ColorHSLA::Pack |
( |
float |
Darkest, |
|
|
bool |
Alpha = false |
|
) |
| const |
|
inline |
◆ UnclampLighting()
ColorHSLA ColorHSLA::UnclampLighting |
( |
float |
Darkest | ) |
const |
|
inline |
◆ DARKEST_LGT
constexpr const float ColorHSLA::DARKEST_LGT = 0.5f |
|
staticconstexpr |
◆ DARKEST_LGT7
constexpr const float ColorHSLA::DARKEST_LGT7 = 61.0f / 255.0f |
|
staticconstexpr |
The documentation for this class was generated from the following file: