|
|
|
@ -320,8 +320,9 @@ class MAGNUM_EXPORT AbstractShaderProgram { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
template<GLuint location, class T> class Attribute { |
|
|
|
template<GLuint location, class T> class Attribute { |
|
|
|
public: |
|
|
|
public: |
|
|
|
/** @brief Location to which the attribute is bound */ |
|
|
|
enum: GLuint { |
|
|
|
static const GLuint Location = location; |
|
|
|
Location = location /**< Location to which the attribute is bound */ |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* @brief Type |
|
|
|
* @brief Type |
|
|
|
|