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

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

#include <donut/graphics/Mesh.hpp>

Concept definition

template<typename T>
std::is_same_v<T, NoIndex> ||
std::is_same_v<T, u8> ||
std::is_same_v<T, u16> ||
std::is_same_v<T, u32>
Concept that checks if a type is a valid index type.
Definition Mesh.hpp:191

Detailed Description

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

Template Parameters
Tthe type to check.