Template Class color¶
Defined in File color.hpp
Class Documentation¶
-
template<class T = std::uint8_t>
class util::color¶ Public Functions
-
color(float red, float green, float blue)¶
-
color(float red, float green, float blue, float alpha)¶
-
~color() = default¶
-
auto get_red_as_float() const noexcept -> float¶
-
auto get_green_as_float() const noexcept -> float¶
-
auto get_blue_as_float() const noexcept -> float¶
-
auto get_alpha_as_float() const noexcept -> float¶
Public Static Functions
-
color(float red, float green, float blue)¶