template<class T>
{ mat_traits<T>::get_data(std::declval<const T&>()) } -> std::same_as<mat_data>;
{ mat_traits<T>::get_value(std::declval<const mat_data&>()) } -> std::same_as<T>;
}
Concept defining which type can be converted to glsl mat type.
Definition mat_traits_concept.hpp:68
Contains all static functions needed for layout and struct classes to interpret given mat type as gls...
Definition mat_traits_concept.hpp:42
Concept defining which type can be converted to glsl mat type.
- Template Parameters
-
| T | type for which converter to glsl mat type should be defined |