From a7db8052eacf327b746da211f4da19bc544a0ea8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 6 Mar 2014 22:24:26 +0100 Subject: [PATCH] Define AbstractShaderProgram::Attribute::Type as T. The original comment is now saying the truth. --- src/Magnum/AbstractShaderProgram.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Magnum/AbstractShaderProgram.h b/src/Magnum/AbstractShaderProgram.h index a4e9d9276..138ce598a 100644 --- a/src/Magnum/AbstractShaderProgram.h +++ b/src/Magnum/AbstractShaderProgram.h @@ -959,6 +959,14 @@ template class AbstractShaderProgram::Attribute { VectorCount = Implementation::Attribute::VectorCount }; + /** + * @brief Type + * + * Type used in shader code. + * @see @ref ScalarType, @ref DataType + */ + typedef T Type; + /** * @brief Scalar type *