#include <CCGLProgramState.h>
Classes | |
| union | U |
Public Member Functions | |
| VertexAttribValue (VertexAttrib *vertexAttrib) | |
| VertexAttribValue () | |
| ~VertexAttribValue () | |
| void | setPointer (GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLvoid *pointer) |
| void | setCallback (const std::function< void(VertexAttrib *)> &callback) |
| void | apply () |
Protected Attributes | |
| VertexAttrib * | _vertexAttrib |
| bool | _useCallback |
| bool | _enabled |
| union cocos2d::VertexAttribValue::U | _value |
Friends | |
| class | GLProgram |
| class | GLProgramState |
| VertexAttribValue | ( | VertexAttrib * | vertexAttrib | ) |
| ~VertexAttribValue | ( | ) |
| void apply | ( | ) |
| void setCallback | ( | const std::function< void(VertexAttrib *)> & | callback | ) |
| void setPointer | ( | GLint | size, |
| GLenum | type, | ||
| GLboolean | normalized, | ||
| GLsizei | stride, | ||
| GLvoid * | pointer | ||
| ) |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |