HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
hi::v1::half Struct Reference

Public Member Functions

constexpr half (half const &) noexcept=default
constexpr half (half &&) noexcept=default
constexpr half & operator= (half const &) noexcept=default
constexpr half & operator= (half &&) noexcept=default
constexpr half (std::in_place_t, uint16_t v) noexcept
constexpr half (float other) noexcept
constexpr operator float () const noexcept
constexpr uint16_t const & intrinsic () const noexcept
constexpr uint16_t & intrinsic () noexcept
constexpr half & operator= (float other) noexcept
std::size_t hash () const noexcept

Data Fields

uint16_t v = 0

Friends

template<typename LHS, typename RHS>
requires requires { static_cast<float>(lhs); static_cast<float>(rhs); }
constexpr friend bool operator== (LHS lhs, RHS rhs) noexcept
template<typename LHS, typename RHS>
requires requires { static_cast<float>(lhs); static_cast<float>(rhs); }
constexpr friend auto operator<=> (LHS lhs, RHS rhs) noexcept

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