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 *