cocos2d-x
3.3
|
#include <CCBatchCommand.h>
Public Member Functions | |
BatchCommand () | |
~BatchCommand () | |
void | init (float depth, GLProgram *shader, BlendFunc blendType, TextureAtlas *textureAtlas, const Mat4 &modelViewTransform) |
void | execute () |
![]() | |
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... | |
Protected Attributes | |
int32_t | _materialID |
GLuint | _textureID |
GLProgram * | _shader |
BlendFunc | _blendType |
TextureAtlas * | _textureAtlas |
Mat4 | _mv |
![]() | |
Type | _type |
float | _globalOrder |
bool | _isTransparent |
Additional Inherited Members | |
![]() | |
enum | Type { UNKNOWN_COMMAND, QUAD_COMMAND, CUSTOM_COMMAND, BATCH_COMMAND, GROUP_COMMAND, MESH_COMMAND, PRIMITIVE_COMMAND, TRIANGLES_COMMAND } |
![]() | |
RenderCommand () | |
virtual | ~RenderCommand () |
void | printID () |
BatchCommand | ( | ) |
~BatchCommand | ( | ) |
void execute | ( | ) |
void init | ( | float | depth, |
GLProgram * | shader, | ||
BlendFunc | blendType, | ||
TextureAtlas * | textureAtlas, | ||
const Mat4 & | modelViewTransform | ||
) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |