Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Structure containing all the info regarding an active vertex attribute, see also GLSLProgram::activeAttribs() More...
#include <GLSL.hpp>
Public Member Functions | |
AttribInfo (const char *name, EAttributeType type, int size, int location) | |
Public Attributes | |
std::string | Name |
Name of the active attribute. | |
EAttributeType | Type |
Type as returned by http://www.opengl.org/sdk/docs/man4/xhtml/glGetActiveAttrib.xml. | |
int | Size |
The size of the attribute, in units of the type returned in Type. | |
int | Location |
Location of the active attribute. |
Structure containing all the info regarding an active vertex attribute, see also GLSLProgram::activeAttribs()
Definition at line 63 of file GLSL.hpp.
vl::AttribInfo::AttribInfo | ( | const char * | name, |
EAttributeType | type, | ||
int | size, | ||
int | location | ||
) | [inline] |
std::string vl::AttribInfo::Name |
Type as returned by http://www.opengl.org/sdk/docs/man4/xhtml/glGetActiveAttrib.xml.