#include <CCCustomCommand.h>
Public Member Functions | |
CustomCommand () | |
~CustomCommand () | |
void | init (int viewport, int32_t depth) |
virtual int64_t | generateID () |
void | execute () |
bool | isTranslucent () |
![]() | |
virtual int64_t | getID () |
Get Render Command Id. More... | |
local | getID () |
Get Render Command Id. More... | |
virtual Type | getType () |
Public Attributes | |
std::function< void()> | func |
Protected Attributes | |
int | _viewport |
int32_t | _depth |
![]() | |
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 | |
![]() | |
enum | Type { QUAD_COMMAND, CUSTOM_COMMAND, GROUP_COMMAND, UNKNOWN_COMMAND } |
![]() | |
RenderCommand () | |
virtual | ~RenderCommand () |
void | printID () |
CustomCommand | ( | ) |
var CustomCommand | ( | ) |
local CustomCommand | ( | ) |
~CustomCommand | ( | ) |
var ~CustomCommand | ( | ) |
local ~CustomCommand | ( | ) |
void execute | ( | ) |
var execute | ( | ) |
local execute | ( | ) |
|
virtual |
Implements RenderCommand.
|
virtual |
Implements RenderCommand.
|
virtual |
Implements RenderCommand.
void init | ( | int | viewport, |
int32_t | depth | ||
) |
var init | ( | var | viewport, |
var | depth | ||
) |
local init | ( | local | viewport, |
local | depth | ||
) |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
std::function<void()> func |
var func |
local func |