libdonut 2.3.6
Application framework for cross-platform game development in C++20
Loading...
Searching...
No Matches
donut::graphics::mesh_instance Concept Reference

Concept that checks if a type is a valid instance type. More...

#include <donut/graphics/Mesh.hpp>

Concept definition

template<typename T>
std::is_aggregate_v<T> &&
std::is_standard_layout_v<T> &&
detail::is_vertex_attributes_v<decltype(reflection::fields(std::declval<T>()))>
Concept that checks if a type is a valid instance type.
Definition Mesh.hpp:208

Detailed Description

Concept that checks if a type is a valid instance type.

Template Parameters
Tthe type to check.