From c9e13a5c30a640958ad6149244756dabd381d08a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 8 Dec 2023 11:58:33 +0100 Subject: [PATCH] Trade: doc++ --- src/Magnum/Trade/MaterialData.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Magnum/Trade/MaterialData.h b/src/Magnum/Trade/MaterialData.h index b00eeef66..35b2166c1 100644 --- a/src/Magnum/Trade/MaterialData.h +++ b/src/Magnum/Trade/MaterialData.h @@ -2254,7 +2254,8 @@ class MAGNUM_TRADE_EXPORT MaterialData { * returned by @ref attributeData() const. The @p layer is expected to * be less *or equal to* @ref layerCount(), i.e. it's always possible * to call this function with @cpp layer @ce and @cpp layer + 1 @ce to - * get the attribute range for given layer. + * get the attribute range for given layer, or with @ref layerCount() + * to get the total attribute count in all layers. */ UnsignedInt attributeDataOffset(UnsignedInt layer) const;