cocos2d-x  3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
CustomCommand Class Reference

#include <CCCustomCommand.h>

Inheritance diagram for CustomCommand:
RenderCommand

Public Member Functions

 CustomCommand ()
 CustomCommand ()
 ~CustomCommand ()
 ~CustomCommand ()
 ~CustomCommand ()
void init (float depth)
local init ( local depth)
void execute ()
bool isTranslucent ()
var isTranslucent ()
local isTranslucent ()
- Public Member Functions inherited from RenderCommand
float getGlobalOrder () const
 Get Render Command Id. More...
 
Type getType () const
 Returns the Command type. More...
 
bool isTransparent () const
 Retruns whether is transparent. More...
 
local isTransparent ()
 Retruns whether is transparent. More...
 
void setTransparent (bool isTransparent)
 set transparent flag More...
 
var setTransparent ( var isTransparent)
 set transparent flag More...
 
local setTransparent ( local isTransparent)
 set transparent flag More...
 

Public Attributes

std::function< void()> func
var func
local func

Additional Inherited Members

- Public Types inherited from RenderCommand
enum  Type {
  UNKNOWN_COMMAND, QUAD_COMMAND, CUSTOM_COMMAND, BATCH_COMMAND,
  GROUP_COMMAND, MESH_COMMAND, PRIMITIVE_COMMAND, TRIANGLES_COMMAND
}
 
- Protected Member Functions inherited from RenderCommand
 RenderCommand ()
 RenderCommand ()
virtual ~RenderCommand ()
local ~RenderCommand ()
void printID ()
local printID ()
- Protected Attributes inherited from RenderCommand
Type _type
float _globalOrder
local _globalOrder
bool _isTransparent
var _isTransparent
local _isTransparent

Constructor & Destructor Documentation

var CustomCommand ( )
local CustomCommand ( )
var ~CustomCommand ( )
local ~CustomCommand ( )

Member Function Documentation

void execute ( )
var execute ( )
local execute ( )
void init ( float  depth)
var init ( var  depth)
local init ( local  depth)
bool isTranslucent ( )
inline
var isTranslucent ( )
inline
local isTranslucent ( )
inline

Member Data Documentation

std::function<void()> func
var func
local func

The documentation for this class was generated from the following file: