#include <CCMeshCommand.h>
Public Member Functions | |
| MeshCommand () | |
| MeshCommand () | |
| MeshCommand () | |
| ~MeshCommand () | |
| ~MeshCommand () | |
| ~MeshCommand () | |
| void | init (float globalOrder, GLuint textureID, GLProgramState *glProgramState, BlendFunc blendType, GLuint vertexBuffer, GLuint indexBuffer, GLenum primitive, GLenum indexType, ssize_t indexCount, const Mat4 &mv) |
| var | init ( var globalOrder, var textureID, var glProgramState, var blendType, var vertexBuffer, var indexBuffer, var primitive, var indexType, var indexCount, var mv) |
| local | init ( local globalOrder, local textureID, local glProgramState, local blendType, local vertexBuffer, local indexBuffer, local primitive, local indexType, local indexCount, local mv) |
| void | setCullFaceEnabled (bool enable) |
| var | setCullFaceEnabled ( var enable) |
| local | setCullFaceEnabled ( local enable) |
| void | setCullFace (GLenum cullFace) |
| void | setDepthTestEnabled (bool enable) |
| var | setDepthTestEnabled ( var enable) |
| local | setDepthTestEnabled ( local enable) |
| void | setDepthWriteEnabled (bool enable) |
| var | setDepthWriteEnabled ( var enable) |
| local | setDepthWriteEnabled ( local enable) |
| void | setDisplayColor (const Vec4 &color) |
| var | setDisplayColor ( var color) |
| local | setDisplayColor ( local color) |
| void | execute () |
| var | execute () |
| local | execute () |
Public Member Functions inherited from RenderCommand | |
| float | getGlobalOrder () const |
| Get Render Command Id. More... | |
| Type | getType () const |
| Returns the Command type. More... | |
Protected Member Functions | |
| void | applyRenderState () |
| var | applyRenderState () |
| local | applyRenderState () |
| void | restoreRenderState () |
| var | restoreRenderState () |
| local | restoreRenderState () |
Protected Member Functions inherited from RenderCommand | |
| RenderCommand () | |
| virtual | ~RenderCommand () |
| local | ~RenderCommand () |
| void | printID () |
| local | printID () |
Protected Attributes | |
| GLuint | _textureID |
| GLProgramState * | _glProgramState |
| var | _glProgramState |
| local | _glProgramState |
| BlendFunc | _blendType |
| var | _blendType |
| local | _blendType |
| GLuint | _textrueID |
| var | _textrueID |
| local | _textrueID |
| Vec4 | _displayColor |
| var | _displayColor |
| local | _displayColor |
| GLuint | _vertexBuffer |
| var | _vertexBuffer |
| local | _vertexBuffer |
| GLuint | _indexBuffer |
| var | _indexBuffer |
| local | _indexBuffer |
| GLenum | _primitive |
| var | _primitive |
| local | _primitive |
| GLenum | _indexFormat |
| var | _indexFormat |
| local | _indexFormat |
| ssize_t | _indexCount |
| var | _indexCount |
| local | _indexCount |
| bool | _cullFaceEnabled |
| var | _cullFaceEnabled |
| local | _cullFaceEnabled |
| GLenum | _cullFace |
| var | _cullFace |
| local | _cullFace |
| bool | _depthTestEnabled |
| var | _depthTestEnabled |
| local | _depthTestEnabled |
| bool | _depthWriteEnabled |
| var | _depthWriteEnabled |
| local | _depthWriteEnabled |
| Mat4 | _mv |
| var | _mv |
| local | _mv |
Protected Attributes inherited from RenderCommand | |
| Type | _type |
| float | _globalOrder |
| var | _globalOrder |
| local | _globalOrder |
Additional Inherited Members | |
Public Types inherited from RenderCommand | |
| enum | Type { UNKNOWN_COMMAND, QUAD_COMMAND, CUSTOM_COMMAND, BATCH_COMMAND, GROUP_COMMAND, MESH_COMMAND } |
| MeshCommand | ( | ) |
| var MeshCommand | ( | ) |
| local MeshCommand | ( | ) |
| ~MeshCommand | ( | ) |
| var ~MeshCommand | ( | ) |
| local ~MeshCommand | ( | ) |
|
protected |
|
protected |
|
protected |
| void execute | ( | ) |
| var execute | ( | ) |
| local execute | ( | ) |
| void init | ( | float | globalOrder, |
| GLuint | textureID, | ||
| GLProgramState * | glProgramState, | ||
| BlendFunc | blendType, | ||
| GLuint | vertexBuffer, | ||
| GLuint | indexBuffer, | ||
| GLenum | primitive, | ||
| GLenum | indexType, | ||
| ssize_t | indexCount, | ||
| const Mat4 & | mv | ||
| ) |
| var init | ( | var | globalOrder, |
| var | textureID, | ||
| var | glProgramState, | ||
| var | blendType, | ||
| var | vertexBuffer, | ||
| var | indexBuffer, | ||
| var | primitive, | ||
| var | indexType, | ||
| var | indexCount, | ||
| var | mv | ||
| ) |
| local init | ( | local | globalOrder, |
| local | textureID, | ||
| local | glProgramState, | ||
| local | blendType, | ||
| local | vertexBuffer, | ||
| local | indexBuffer, | ||
| local | primitive, | ||
| local | indexType, | ||
| local | indexCount, | ||
| local | mv | ||
| ) |
|
protected |
|
protected |
|
protected |
| void setCullFace | ( | GLenum | cullFace | ) |
| var setCullFace | ( | var | cullFace | ) |
| local setCullFace | ( | local | cullFace | ) |
| void setCullFaceEnabled | ( | bool | enable | ) |
| var setCullFaceEnabled | ( | var | enable | ) |
| local setCullFaceEnabled | ( | local | enable | ) |
| void setDepthTestEnabled | ( | bool | enable | ) |
| var setDepthTestEnabled | ( | var | enable | ) |
| local setDepthTestEnabled | ( | local | enable | ) |
| void setDepthWriteEnabled | ( | bool | enable | ) |
| var setDepthWriteEnabled | ( | var | enable | ) |
| local setDepthWriteEnabled | ( | local | enable | ) |
| void setDisplayColor | ( | const Vec4 & | color | ) |
| var setDisplayColor | ( | var | color | ) |
| local setDisplayColor | ( | local | color | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |