From 7615cc3c8be82ff1db0849fa193a34954a79d26c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 31 Oct 2024 13:38:55 +0100 Subject: [PATCH] GL: be clearer about the offset being *bytes*. Eh, the whole class needs a serious doc update. --- src/Magnum/GL/Mesh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/GL/Mesh.h b/src/Magnum/GL/Mesh.h index f976df06c..00fa1f2ed 100644 --- a/src/Magnum/GL/Mesh.h +++ b/src/Magnum/GL/Mesh.h @@ -853,7 +853,7 @@ class MAGNUM_GL_EXPORT Mesh: public AbstractObject { * @brief Add buffer with (interleaved) vertex attributes for use with given shader * @return Reference to self (for method chaining) * - * Parameter @p offset is offset of the array from the beginning, + * The @p offset is a byte offset from the beginning of the buffer, the * attribute list is combination of @ref Attribute "attribute definitions" * (specified in implementation of given shader) and offsets between * interleaved attributes.