sandbox
Loading...
Searching...
No Matches
sbx::math::color Class Reference

Public Member Functions

 color (std::uint32_t rgba) noexcept
 
 color (std::float_t red, std::float_t green, std::float_t blue, std::float_t alpha=1.0f) noexcept
 
auto r () const noexcept -> const std::float_t &
 
auto r () noexcept -> std::float_t &
 
auto g () const noexcept -> const std::float_t &
 
auto g () noexcept -> std::float_t &
 
auto b () const noexcept -> const std::float_t &
 
auto b () noexcept -> std::float_t &
 
auto a () const noexcept -> const std::float_t &
 
auto a () noexcept -> std::float_t &
 

Static Public Member Functions

static auto black () noexcept -> color
 
static auto white () noexcept -> color
 
static auto red () noexcept -> color
 
static auto green () noexcept -> color
 
static auto blue () noexcept -> color
 
static auto magenta () noexcept -> color
 
static auto yellow () noexcept -> color
 
static auto cyan () noexcept -> color
 

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