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

Base class of the RenderCommand hierarchy. More...

#include <CCRenderCommand.h>

Inheritance diagram for RenderCommand:
BatchCommand CustomCommand GroupCommand QuadCommand

Public Types

enum  Type {
  UNKNOWN_COMMAND, QUAD_COMMAND, CUSTOM_COMMAND, BATCH_COMMAND,
  GROUP_COMMAND
}
 

Public Member Functions

float getGlobalOrder () const
 Get Render Command Id. More...
 
Type getType () const
 Returns the Command type. More...
 

Protected Member Functions

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

Protected Attributes

Type _type
float _globalOrder
var _globalOrder
local _globalOrder

Detailed Description

Base class of the RenderCommand hierarchy.

The Renderer knows how to render RenderCommands objects.

Member Enumeration Documentation

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

Constructor & Destructor Documentation

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

Member Function Documentation

float getGlobalOrder ( ) const
inline

Get Render Command Id.

Type getType ( ) const
inline

Returns the Command type.

var getType ( )
inline

Returns the Command type.

local getType ( )
inline

Returns the Command type.

void printID ( )
protected
var printID ( )
protected
local printID ( )
protected

Member Data Documentation

float _globalOrder
protected
var _globalOrder
protected
local _globalOrder
protected
Type _type
protected
var _type
protected
local _type
protected

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