#include <CCQuadCommand.h>
Public Member Functions | |
| QuadCommand () | |
| ~QuadCommand () | |
| void | init (float depth, GLuint texutreID, GLProgram *shader, BlendFunc blendType, V3F_C4B_T2F_Quad *quads, ssize_t quadCount, const kmMat4 &mv) |
| var | init ( var depth, var texutreID, var shader, var blendType, var quads, var quadCount, var mv) |
| local | init ( local depth, local texutreID, local shader, local blendType, local quads, local quadCount, local mv) |
| void | useMaterial () const |
| bool | isTranslucent () const |
| void | generateMaterialID () |
| var | generateMaterialID () |
| local | generateMaterialID () |
| uint32_t | getMaterialID () const |
| GLuint | getTextureID () const |
| V3F_C4B_T2F_Quad * | getQuads () const |
| var | getQuads () |
| local | getQuads () |
| ssize_t | getQuadCount () const |
| GLProgram * | getShader () const |
| local | getShader () |
| BlendFunc | getBlendType () const |
| local | getBlendType () |
| const kmMat4 & | getModelView () const |
| local | getModelView () |
Public Member Functions inherited from RenderCommand | |
| float | getGlobalOrder () const |
| Get Render Command Id. More... | |
| Type | getType () const |
| Returns the Command type. More... | |
Protected Attributes | |
| uint32_t | _materialID |
| var | _materialID |
| local | _materialID |
| GLuint | _textureID |
| var | _textureID |
| local | _textureID |
| GLProgram * | _shader |
| var | _shader |
| local | _shader |
| BlendFunc | _blendType |
| var | _blendType |
| local | _blendType |
| V3F_C4B_T2F_Quad * | _quads |
| local | _quads |
| ssize_t | _quadsCount |
| kmMat4 | _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 } |
Protected Member Functions inherited from RenderCommand | |
| RenderCommand () | |
| virtual | ~RenderCommand () |
| void | printID () |
| QuadCommand | ( | ) |
| var QuadCommand | ( | ) |
| local QuadCommand | ( | ) |
| ~QuadCommand | ( | ) |
| var ~QuadCommand | ( | ) |
| local ~QuadCommand | ( | ) |
| void generateMaterialID | ( | ) |
| var generateMaterialID | ( | ) |
| local generateMaterialID | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void init | ( | float | depth, |
| GLuint | texutreID, | ||
| GLProgram * | shader, | ||
| BlendFunc | blendType, | ||
| V3F_C4B_T2F_Quad * | quads, | ||
| ssize_t | quadCount, | ||
| const kmMat4 & | mv | ||
| ) |
| var init | ( | var | depth, |
| var | texutreID, | ||
| var | shader, | ||
| var | blendType, | ||
| var | quads, | ||
| var | quadCount, | ||
| var | mv | ||
| ) |
| local init | ( | local | depth, |
| local | texutreID, | ||
| local | shader, | ||
| local | blendType, | ||
| local | quads, | ||
| local | quadCount, | ||
| local | mv | ||
| ) |
|
inline |
|
inline |
|
inline |
| void useMaterial | ( | ) | const |
| var useMaterial | ( | ) |
| local useMaterial | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |