cocos2d-x
3.3
|
#include <CCCustomCommand.h>
Public Member Functions | |
CustomCommand () | |
~CustomCommand () | |
void | init (float depth) |
void | execute () |
bool | isTranslucent () |
![]() | |
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... | |
Public Attributes | |
std::function< void()> | func |
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 () |
![]() | |
Type | _type |
float | _globalOrder |
bool | _isTransparent |
CustomCommand | ( | ) |
~CustomCommand | ( | ) |
void execute | ( | ) |
void init | ( | float | depth | ) |
|
inline |
std::function<void()> func |