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