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

mesh vertex attribute More...

Public Attributes

GLint size
 The attribute size.
 
var size
 The attribute size.
 
local size
 The attribute size.
 
GLenum type
 Attribute's data type, currently must be GL_FLOAT.
 
local type
 Attribute's data type, currently must be GL_FLOAT.
 
int vertexAttrib
 The attribute type, the attribute type must be one of the following: VERTEX_ATTRIB_POSITION,VERTEX_ATTRIB_COLOR,VERTEX_ATTRIB_TEX_COORD,VERTEX_ATTRIB_NORMAL, VERTEX_ATTRIB_BLEND_WEIGHT, VERTEX_ATTRIB_BLEND_INDEX see GLProgram for detail.
 
local vertexAttrib
 The attribute type, the attribute type must be one of the following: VERTEX_ATTRIB_POSITION,VERTEX_ATTRIB_COLOR,VERTEX_ATTRIB_TEX_COORD,VERTEX_ATTRIB_NORMAL, VERTEX_ATTRIB_BLEND_WEIGHT, VERTEX_ATTRIB_BLEND_INDEX see GLProgram for detail.
 
int attribSizeBytes
 The attribute size in bytes.
 

Detailed Description

mesh vertex attribute


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