加入OpenGLES3.2 依赖

This commit is contained in:
2025-10-23 15:20:25 +08:00
parent 2b888aae5b
commit 1fe898e09c
434 changed files with 68207 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
/// @ref gtx_texture
namespace glm
{
template <length_t L, typename T, qualifier Q>
inline T levels(vec<L, T, Q> const& Extent)
{
return glm::log2(compMax(Extent)) + static_cast<T>(1);
}
template <typename T>
inline T levels(T Extent)
{
return levels(vec<1, T, defaultp>(Extent));
}
}//namespace glm