Cocos2d-x  v3.10
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups
VertexAttrib Struct Reference

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.
 
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.
 

Detailed Description

VertexAttrib is a structure to encapsulate data got from glGetActiveAttrib.


The documentation for this struct was generated from the following file: