cocos2d-x  3.3
 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 ()
 
void init (float depth, GLProgram *shader, BlendFunc blendType, TextureAtlas *textureAtlas, const Mat4 &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...
 
bool isTransparent () const
 Retruns whether is transparent. More...
 
void setTransparent (bool isTransparent)
 set transparent flag More...
 

Protected Attributes

int32_t _materialID
 
GLuint _textureID
 
GLProgram_shader
 
BlendFunc _blendType
 
TextureAtlas_textureAtlas
 
Mat4 _mv
 
- Protected Attributes inherited from RenderCommand
Type _type
 
float _globalOrder
 
bool _isTransparent
 

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 ()
 
virtual ~RenderCommand ()
 
void printID ()
 

Constructor & Destructor Documentation

Member Function Documentation

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

Member Data Documentation

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

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