DDraceNetwork Documentation
Loading...
Searching...
No Matches
ColorHSVA Class Reference

#include <color.h>

Inheritance diagram for ColorHSVA:
[legend]
Collaboration diagram for ColorHSVA:
[legend]

Public Member Functions

constexpr ColorHSVA ()=default
constexpr color4_base ()
constexpr color4_base (float nx, float ny, float nz, float na)
constexpr color4_base (float nx, float ny, float nz)
constexpr color4_base (unsigned col, bool alpha=false)
template<typename OtherDerivedT>
 color4_base (const color4_base< OtherDerivedT > &Other)=delete
Public Member Functions inherited from color4_base< ColorHSVA >
constexpr color4_base ()
constexpr float & operator[] (int index)
constexpr bool operator== (const color4_base &col) const
constexpr bool operator!= (const color4_base &col) const
constexpr unsigned Pack (bool Alpha=true) const
constexpr unsigned PackAlphaLast (bool Alpha=true) const
constexpr ColorHSVA WithAlpha (float alpha) const
constexpr ColorHSVA WithMultipliedAlpha (float alpha) const

Additional Inherited Members

Static Public Member Functions inherited from color4_base< ColorHSVA >
static constexpr UnpackT UnpackAlphaLast (unsigned Color, bool Alpha=true)
Public Attributes inherited from color4_base< ColorHSVA >
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 
}; 

Constructor & Destructor Documentation

◆ ColorHSVA()

ColorHSVA::ColorHSVA ( )
constexprdefault

Member Function Documentation

◆ color4_base() [1/5]

color4_base< DerivedT >::color4_base ( )
inlineconstexpr

◆ color4_base() [2/5]

template<typename OtherDerivedT>
color4_base< DerivedT >::color4_base ( const color4_base< OtherDerivedT > & Other)
delete

◆ color4_base() [3/5]

color4_base< DerivedT >::color4_base ( float nx,
float ny,
float nz )
inlineconstexpr

◆ color4_base() [4/5]

color4_base< DerivedT >::color4_base ( float nx,
float ny,
float nz,
float na )
inlineconstexpr

◆ color4_base() [5/5]

color4_base< DerivedT >::color4_base ( unsigned col,
bool alpha = false )
inlineconstexpr

The documentation for this class was generated from the following file: