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

A pair of color spaces with a Converter specialization between them. More...

Concept definition

template<typename ColorOut, typename ColorIn>
concept DirectConverter = requires(const ColorIn& color) {
{ Converter<ColorOut, ColorIn>::convert(color) } -> std::same_as<ColorOut>;
}
A pair of color spaces with a Converter specialization between them.
Converts colors from one color space to another.

Detailed Description

A pair of color spaces with a Converter specialization between them.

Template Parameters
ColorOutThe output color space
ColorInThe input color space

Definition at line 147 of file Converter.cppm.