CoriEngine
Loading...
Searching...
No Matches
Cori::Internal::IsDescriptor Concept Reference

Checks T can be considered a descriptor. More...

#include <AssetManager.hpp>

Concept definition

template<typename T>
concept Cori::Internal::IsDescriptor = requires(const T& a, const T& b) {
{ a.GetRuntimeID() } -> std::same_as<uint32_t>;
{ a.m_Name } -> std::convertible_to<std::string>;
{ a == b } -> std::convertible_to<bool>;
typename T::AssetType;
typename T::Hasher;
}
Checks T can be considered a descriptor.

Detailed Description

Checks T can be considered a descriptor.

Definition at line 12 of file AssetManager.hpp.