Color4f class
Public static variables
- static const f32 cElementMax
- static const f32 cElementMin
- static const Color4f cBlack
- static const Color4f cGray
- static const Color4f cWhite
- static const Color4f cRed
- static const Color4f cGreen
- static const Color4f cBlue
- static const Color4f cYellow
- static const Color4f cMagenta
- static const Color4f cCyan
Public static functions
Constructors, destructors, conversion operators
Public functions
- void setLerp(const Color4f& color1, const Color4f& color2, f32 t)
- void setGammaCollection(const Color4f& value, f32 gamma)
- void adjustOverflow()
- auto operator+=(const Color4f& rhs) -> Color4f&
- auto operator-=(const Color4f& rhs) -> Color4f&
- auto operator*=(const Color4f& rhs) -> Color4f&
- auto operator/=(const Color4f& rhs) -> Color4f&
- auto operator+=(f32 x) -> Color4f&
- auto operator-=(f32 x) -> Color4f&
- auto operator*=(f32 x) -> Color4f&
- auto operator/=(f32 x) -> Color4f&
Public variables
Friends
- auto operator+(const Color4f& lhs, const Color4f& rhs) -> Color4f
- auto operator-(const Color4f& lhs, const Color4f& rhs) -> Color4f
- auto operator*(const Color4f& lhs, const Color4f& rhs) -> Color4f
- auto operator/(const Color4f& lhs, const Color4f& rhs) -> Color4f
- auto operator+(const Color4f& lhs, f32 x) -> Color4f
- auto operator-(const Color4f& lhs, f32 x) -> Color4f
- auto operator*(const Color4f& lhs, f32 x) -> Color4f
- auto operator/(const Color4f& lhs, f32 x) -> Color4f
- auto operator==(const Color4f& lhs, const Color4f& rhs) -> bool