psychic-ui
0.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
psychic_ui
Interpolable
psychic_ui::Interpolable Concept Reference
Concept definition
template
<
class
T>
concept
Interpolable
=
requires
(
const
T &value,
const
Channels
&channels) {
{
Interpolation<T>::count
} -> std::convertible_to<std::size_t>;
{
Interpolation<T>::channels
(value) } -> std::same_as<Channels>;
{ Interpolation<T>::value(channels, value) } -> std::same_as<T>;
{
Interpolation<T>::target
(value, value) } -> std::same_as<std::optional<T>>;
}
psychic_ui::Interpolable
Definition
Interpolation.hpp:23
psychic_ui::Channels
std::array< float, 4 > Channels
Definition
Tween.hpp:14
psychic_ui::Interpolation
Definition
Interpolation.hpp:20
Generated by
1.17.0