VertexAttrib is a structure to encapsulate data got from glGetActiveAttrib. More...
Public Attributes | |
| GLuint | index |
| Index of attribute, start from 0. | |
| var | index |
| Index of attribute, start from 0. | |
| local | index |
| Index of attribute, start from 0. | |
| GLint | size |
| Number of Data type in the attribute, could range from 1-4. | |
| var | size |
| Number of Data type in the attribute, could range from 1-4. | |
| local | size |
| Number of Data type in the attribute, could range from 1-4. | |
| GLenum | type |
| Data type of the attribute, could be GL_FLOAT, GL_UNSIGNED_BYTE etc. | |
| std::string | name |
| The string name in vertex shader. | |
| var | name |
| The string name in vertex shader. | |
| local | name |
| The string name in vertex shader. | |
VertexAttrib is a structure to encapsulate data got from glGetActiveAttrib.