#include <CCQuadCommand.h>
Public Member Functions | |
| QuadCommand () | |
| ~QuadCommand () | |
| void | init (int viewport, int32_t depth, GLuint texutreID, GLProgram *shader, BlendFunc blendType, V3F_C4B_T2F_Quad *quad, ssize_t quadCount, const kmMat4 &mv) |
| var | init ( var viewport, var depth, var texutreID, var shader, var blendType, var quad, var quadCount, var mv) |
| local | init ( local viewport, local depth, local texutreID, local shader, local blendType, local quad, local quadCount, local mv) |
| virtual int64_t | generateID () |
| local | generateID () |
| void | useMaterial () |
| bool | isTranslucent () const |
| int32_t | getMaterialID () const |
| GLuint | getTextureID () const |
| V3F_C4B_T2F_Quad * | getQuad () const |
| var | getQuad () |
| local | getQuad () |
| ssize_t | getQuadCount () const |
| GLProgram * | getShader () const |
| local | getShader () |
| BlendFunc | getBlendType () const |
| local | getBlendType () |
Public Member Functions inherited from RenderCommand | |
| virtual int64_t | getID () |
| Get Render Command Id. More... | |
| local | getID () |
| Get Render Command Id. More... | |
| virtual Type | getType () |
Protected Attributes | |
| int32_t | _materialID |
| int | _viewport |
| int32_t | _depth |
| Which view port it belongs to. More... | |
| var | _depth |
| Which view port it belongs to. More... | |
| local | _depth |
| Which view port it belongs to. More... | |
| GLuint | _textureID |
| GLProgram * | _shader |
| var | _shader |
| local | _shader |
| BlendFunc | _blendType |
| var | _blendType |
| local | _blendType |
| V3F_C4B_T2F_Quad * | _quad |
| var | _quad |
| local | _quad |
| ssize_t | _quadCount |
| ssize_t | _capacity |
| var | _capacity |
| local | _capacity |
Protected Attributes inherited from RenderCommand | |
| int64_t | _id |
| Type | _type |
| used for sorting render commands More... | |
| var | _type |
| used for sorting render commands More... | |
| local | _type |
| used for sorting render commands More... | |
Additional Inherited Members | |
Public Types inherited from RenderCommand | |
| enum | Type { QUAD_COMMAND, CUSTOM_COMMAND, GROUP_COMMAND, UNKNOWN_COMMAND } |
Protected Member Functions inherited from RenderCommand | |
| RenderCommand () | |
| virtual | ~RenderCommand () |
| void | printID () |
| QuadCommand | ( | ) |
| var QuadCommand | ( | ) |
| local QuadCommand | ( | ) |
| ~QuadCommand | ( | ) |
| var ~QuadCommand | ( | ) |
| local ~QuadCommand | ( | ) |
|
virtual |
Implements RenderCommand.
|
virtual |
Implements RenderCommand.
|
virtual |
Implements RenderCommand.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void init | ( | int | viewport, |
| int32_t | depth, | ||
| GLuint | texutreID, | ||
| GLProgram * | shader, | ||
| BlendFunc | blendType, | ||
| V3F_C4B_T2F_Quad * | quad, | ||
| ssize_t | quadCount, | ||
| const kmMat4 & | mv | ||
| ) |
| var init | ( | var | viewport, |
| var | depth, | ||
| var | texutreID, | ||
| var | shader, | ||
| var | blendType, | ||
| var | quad, | ||
| var | quadCount, | ||
| var | mv | ||
| ) |
| local init | ( | local | viewport, |
| local | depth, | ||
| local | texutreID, | ||
| local | shader, | ||
| local | blendType, | ||
| local | quad, | ||
| local | quadCount, | ||
| local | mv | ||
| ) |
|
inline |
|
inline |
|
inline |
| void useMaterial | ( | ) |
| var useMaterial | ( | ) |
| local useMaterial | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Which view port it belongs to.
|
protected |
Which view port it belongs to.
|
protected |
Which view port it belongs to.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |