From 327d0cb749ce7809e75e12e8c18318f058cde8c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 6 Mar 2023 17:52:02 +0100 Subject: [PATCH] MeshTools: clarify why actually the API isn't on ES2. --- src/Magnum/MeshTools/Compile.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Magnum/MeshTools/Compile.h b/src/Magnum/MeshTools/Compile.h index 20b5c0be4..299344541 100644 --- a/src/Magnum/MeshTools/Compile.h +++ b/src/Magnum/MeshTools/Compile.h @@ -326,8 +326,12 @@ similarly with other builtin shaders. @ref MAGNUM_TARGET_GL enabled (done by default). See @ref building-features for more information. -@requires_gles30 Not defined on OpenGL ES 2.0 builds. -@requires_webgl20 Not defined on WebGL 1.0 builds. +@requires_gles30 Skinning implementation in builtin shaders requires integer + support which is not available in OpenGL ES 2.0, thus neither this function + is defined in OpenGL ES 2.0 builds. +@requires_webgl20 Skinning implementation in builtin shaders requires integer + support which is not available in WebGL 1.0, thus neither this function is + defined in WebGL 1.0 builds. */ MAGNUM_MESHTOOLS_EXPORT Containers::Pair compiledPerVertexJointCount(const Trade::MeshData& meshData); #endif