utility 2026.1.9
A comprehensive C++ utilities library tailored for the development of modern desktop and extended reality (XR) applications.
Loading...
Searching...
No Matches
utility::graphic::CanBeColorComponent Concept Reference

Concept to ensure the type can be used as a color component. More...

#include <headers/utility/graphic/color.hpp>

Concept definition

template<typename Type>
concept utility::graphic::CanBeColorComponent = std::is_arithmetic<Type>::value
&& (std::is_floating_point<Type>::value
|| std::is_integral<Type>::value)
Concept to ensure the type can be used as a color component.
Definition color.hpp:48

Detailed Description

Concept to ensure the type can be used as a color component.

Template Parameters
TypeThe type to check.

Definition at line 48 of file color.hpp.