#include <CCMeshCommand.h>
|
| | 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) |
| |
| void | setCullFaceEnabled (bool enable) |
| |
| void | setCullFace (GLenum cullFace) |
| |
| void | setDepthTestEnabled (bool enable) |
| |
| void | setDepthWriteEnabled (bool enable) |
| |
| void | setDisplayColor (const Vec4 &color) |
| |
| void | setMatrixPalette (const Vec4 *matrixPalette) |
| |
| void | setMatrixPaletteSize (int size) |
| |
| void | setLightMask (unsigned int lightmask) |
| |
| void | execute () |
| |
| void | preBatchDraw () |
| |
| void | batchDraw () |
| |
| void | postBatchDraw () |
| |
| void | genMaterialID (GLuint texID, void *glProgramState, GLuint vertexBuffer, GLuint indexBuffer, const BlendFunc &blend) |
| |
| uint32_t | getMaterialID () const |
| |
| void | listenRendererRecreated (EventCustom *event) |
| |
Public Member Functions inherited from RenderCommand |
| float | getGlobalOrder () const |
| | Get Render Command Id. More...
|
| |
| Type | getType () const |
| | Returns the Command type. More...
|
| |
| bool | isTransparent () const |
| | Retruns whether is transparent. More...
|
| |
| void | setTransparent (bool isTransparent) |
| | set transparent flag More...
|
| |
| void applyRenderState |
( |
| ) |
|
|
protected |
| void genMaterialID |
( |
GLuint |
texID, |
|
|
void * |
glProgramState, |
|
|
GLuint |
vertexBuffer, |
|
|
GLuint |
indexBuffer, |
|
|
const BlendFunc & |
blend |
|
) |
| |
| void init |
( |
float |
globalOrder, |
|
|
GLuint |
textureID, |
|
|
GLProgramState * |
glProgramState, |
|
|
BlendFunc |
blendType, |
|
|
GLuint |
vertexBuffer, |
|
|
GLuint |
indexBuffer, |
|
|
GLenum |
primitive, |
|
|
GLenum |
indexType, |
|
|
ssize_t |
indexCount, |
|
|
const Mat4 & |
mv |
|
) |
| |
| void resetLightUniformValues |
( |
| ) |
|
|
protected |
| void restoreRenderState |
( |
| ) |
|
|
protected |
| void setCullFace |
( |
GLenum |
cullFace | ) |
|
| void setCullFaceEnabled |
( |
bool |
enable | ) |
|
| void setDepthTestEnabled |
( |
bool |
enable | ) |
|
| void setDepthWriteEnabled |
( |
bool |
enable | ) |
|
| void setDisplayColor |
( |
const Vec4 & |
color | ) |
|
| void setLightMask |
( |
unsigned int |
lightmask | ) |
|
|
inline |
| void setLightUniforms |
( |
| ) |
|
|
protected |
| void setMatrixPalette |
( |
const Vec4 * |
matrixPalette | ) |
|
|
inline |
| void setMatrixPaletteSize |
( |
int |
size | ) |
|
|
inline |
| const Vec4* _matrixPalette |
|
protected |
The documentation for this class was generated from the following file:
- /Users/huihoo/Software/huihoo-code/cocos2d-x/cocos2d-x-3.3/cocos/renderer/CCMeshCommand.h