cocos2d-x  3.0Beta0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RenderCommand Class Referenceabstract

#include <CCRenderCommand.h>

Inheritance diagram for RenderCommand:
CustomCommand GroupCommand QuadCommand

Public Types

enum  Type { QUAD_COMMAND, CUSTOM_COMMAND, GROUP_COMMAND, UNKNOWN_COMMAND }
 

Public Member Functions

virtual int64_t generateID ()=0
virtual int64_t getID ()
 Get Render Command Id. More...
 
local getID ()
 Get Render Command Id. More...
 
virtual Type getType ()

Protected Member Functions

 RenderCommand ()
virtual ~RenderCommand ()
void printID ()

Protected Attributes

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...
 

Member Enumeration Documentation

enum Type
strong
Enumerator
QUAD_COMMAND 
CUSTOM_COMMAND 
GROUP_COMMAND 
UNKNOWN_COMMAND 
var Type
strong
Enumerator
QUAD_COMMAND 
CUSTOM_COMMAND 
GROUP_COMMAND 
UNKNOWN_COMMAND 
local Type
strong
Enumerator
QUAD_COMMAND 
CUSTOM_COMMAND 
GROUP_COMMAND 
UNKNOWN_COMMAND 

Constructor & Destructor Documentation

RenderCommand ( )
protected
var RenderCommand ( )
protected
local RenderCommand ( )
protected
virtual ~RenderCommand ( )
protectedvirtual
var ~RenderCommand ( )
protectedvirtual
local ~RenderCommand ( )
protectedvirtual

Member Function Documentation

virtual int64_t generateID ( )
pure virtual

Implemented in GroupCommand, QuadCommand, and CustomCommand.

virtual int64_t getID ( )
inlinevirtual

Get Render Command Id.

var getID ( )
inlinevirtual

Get Render Command Id.

local getID ( )
inlinevirtual

Get Render Command Id.

virtual Type getType ( )
inlinevirtual
var getType ( )
inlinevirtual
local getType ( )
inlinevirtual
void printID ( )
protected
var printID ( )
protected
local printID ( )
protected

Member Data Documentation

int64_t _id
protected
var _id
protected
local _id
protected
Type _type
protected

used for sorting render commands

var _type
protected

used for sorting render commands

local _type
protected

used for sorting render commands


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