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

#include <CCBatchCommand.h>

Inheritance diagram for BatchCommand:
RenderCommand

Public Member Functions

 BatchCommand ()
 ~BatchCommand ()
 ~BatchCommand ()
 ~BatchCommand ()
void init (float depth, GLProgram *shader, BlendFunc blendType, TextureAtlas *textureAtlas, const Mat4 &modelViewTransform)
var init ( var depth, var shader, var blendType, var textureAtlas, var modelViewTransform)
local init ( local depth, local shader, local blendType, local textureAtlas, local modelViewTransform)
void execute ()
- Public Member Functions inherited from RenderCommand
float getGlobalOrder () const
 Get Render Command Id. More...
 
Type getType () const
 Returns the Command type. More...
 

Protected Attributes

int32_t _materialID
local _materialID
GLuint _textureID
var _textureID
local _textureID
GLProgram_shader
var _shader
local _shader
BlendFunc _blendType
var _blendType
local _blendType
TextureAtlas_textureAtlas
var _textureAtlas
local _textureAtlas
Mat4 _mv
var _mv
local _mv
- Protected Attributes inherited from RenderCommand
Type _type
float _globalOrder
var _globalOrder
local _globalOrder

Additional Inherited Members

- Public Types inherited from RenderCommand
enum  Type {
  UNKNOWN_COMMAND, QUAD_COMMAND, CUSTOM_COMMAND, BATCH_COMMAND,
  GROUP_COMMAND, MESH_COMMAND
}
 
- Protected Member Functions inherited from RenderCommand
 RenderCommand ()
virtual ~RenderCommand ()
local ~RenderCommand ()
void printID ()
local printID ()

Constructor & Destructor Documentation

var BatchCommand ( )
local BatchCommand ( )
var ~BatchCommand ( )
local ~BatchCommand ( )

Member Function Documentation

void execute ( )
var execute ( )
local execute ( )
void init ( float  depth,
GLProgram shader,
BlendFunc  blendType,
TextureAtlas textureAtlas,
const Mat4 modelViewTransform 
)
var init ( var  depth,
var  shader,
var  blendType,
var  textureAtlas,
var  modelViewTransform 
)
local init ( local  depth,
local  shader,
local  blendType,
local  textureAtlas,
local  modelViewTransform 
)

Member Data Documentation

BlendFunc _blendType
protected
var _blendType
protected
local _blendType
protected
int32_t _materialID
protected
var _materialID
protected
local _materialID
protected
Mat4 _mv
protected
var _mv
protected
local _mv
protected
GLProgram* _shader
protected
var _shader
protected
local _shader
protected
TextureAtlas* _textureAtlas
protected
var _textureAtlas
protected
local _textureAtlas
protected
GLuint _textureID
protected
var _textureID
protected
local _textureID
protected

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