aest 0.1.0
Collection of C++ utility libraries
Loading...
Searching...
No Matches
aest::colors::InterpolationSpace Concept Referenceexport

A color space whose colors can be interpolated through Interpolation. More...

Concept definition

template<typename T>
concept InterpolationSpace = ColorType<T> && requires(const T& color, const float amount) {
{ Interpolation<T>::lerp(color, color, amount) } -> std::same_as<T>;
}
Concept to check if a type is a color.
Definition Color.cppm:448
A color space whose colors can be interpolated through Interpolation.
Interpolates between two colors of a color space.

Detailed Description

A color space whose colors can be interpolated through Interpolation.

Template Parameters
TThe type to check

Definition at line 173 of file Operations.cppm.