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

#include <CCParticle3DRender.h>

Inheritance diagram for Particle3DQuadRender:
Particle3DRender Ref

Classes

struct  posuvcolor
 

Public Member Functions

virtual void render (Renderer *renderer, const Mat4 &transform, ParticleSystem3D *particleSystem) override
var render ( var renderer, var transform, var particleSystem)
local render ( local renderer, local transform, local particleSystem)
virtual void setDepthTest (bool isDepthTest) override
var setDepthTest ( var isDepthTest)
local setDepthTest ( local isDepthTest)
virtual void setDepthWrite (bool isDepthWrite) override
local setDepthWrite ( local isDepthWrite)
virtual ~Particle3DQuadRender ()
- Public Member Functions inherited from Particle3DRender
virtual void notifyStart ()
 Perform activities when a Renderer is started. More...
 
var notifyStart ()
 Perform activities when a Renderer is started. More...
 
local notifyStart ()
 Perform activities when a Renderer is started. More...
 
virtual void notifyStop ()
 Perform activities when a Renderer is stopped. More...
 
virtual void notifyRescaled (const Vec3 &scale)
 Notify that the Particle System is rescaled. More...
 
local notifyRescaled ( local scale)
 Notify that the Particle System is rescaled. More...
 
void setVisible (bool isVisible)
bool isVisible () const
CC_CONSTRUCTOR_ACCESS _isVisible (true)
CC_CONSTRUCTOR_ACCESS _rendererScale (Vec3::ONE)
CC_CONSTRUCTOR_ACCESS _depthTest (true)
CC_CONSTRUCTOR_ACCESS _depthWrite (false)
virtual ~Particle3DRender ()
- Public Member Functions inherited from Ref
void retain ()
 Retains the ownership. More...
 
void release ()
 Releases the ownership immediately. More...
 
Refautorelease ()
 Releases the ownership sometime soon automatically. More...
 
unsigned int getReferenceCount () const
 Returns the Ref's current reference count. More...
 
virtual ~Ref ()
 Destructor. More...
 

Static Public Member Functions

static Particle3DQuadRendercreate (const std::string &texFile="")
var create ()
local create ()

Public Attributes

CC_CONSTRUCTOR_ACCESS __pad0__: Particle3DQuadRender()
- Public Attributes inherited from Particle3DRender
CC_CONSTRUCTOR_ACCESS __pad0__: Particle3DRender() : _particleSystem(nullptr)

Protected Member Functions

bool initQuadRender (const std::string &texFile)
- Protected Member Functions inherited from Ref
 Ref ()
 Constructor. More...
 
 Ref ()
 Constructor. More...
 

Protected Attributes

MeshCommand_meshCommand
Texture2D_texture
GLProgramState_glProgramState
IndexBuffer_indexBuffer
VertexBuffer_vertexBuffer
std::vector< posuvcolor_posuvcolors
var _posuvcolors
local _posuvcolors
std::vector< unsigned short > _indexData
local _indexData
- Protected Attributes inherited from Particle3DRender
ParticleSystem3D_particleSystem
bool _isVisible
Vec3 _rendererScale
bool _depthTest
bool _depthWrite
- Protected Attributes inherited from Ref
unsigned int _referenceCount
 count of references More...
 
local _referenceCount
 count of references More...
 

Constructor & Destructor Documentation

virtual ~Particle3DQuadRender ( )
virtual
var ~Particle3DQuadRender ( )
virtual
local ~Particle3DQuadRender ( )
virtual

Member Function Documentation

static Particle3DQuadRender* create ( const std::string &  texFile = "")
static
var create ( var  texFile = "")
static
local create ( local  texFile = "")
static
bool initQuadRender ( const std::string &  texFile)
protected
var initQuadRender ( var  texFile)
protected
local initQuadRender ( local  texFile)
protected
virtual void render ( Renderer renderer,
const Mat4 transform,
ParticleSystem3D particleSystem 
)
overridevirtual

Implements Particle3DRender.

var render ( var  renderer,
var  transform,
var  particleSystem 
)
overridevirtual

Implements Particle3DRender.

local render ( local  renderer,
local  transform,
local  particleSystem 
)
overridevirtual

Implements Particle3DRender.

virtual void setDepthTest ( bool  isDepthTest)
overridevirtual

Reimplemented from Particle3DRender.

var setDepthTest ( var  isDepthTest)
overridevirtual

Reimplemented from Particle3DRender.

local setDepthTest ( local  isDepthTest)
overridevirtual

Reimplemented from Particle3DRender.

virtual void setDepthWrite ( bool  isDepthWrite)
overridevirtual

Reimplemented from Particle3DRender.

var setDepthWrite ( var  isDepthWrite)
overridevirtual

Reimplemented from Particle3DRender.

local setDepthWrite ( local  isDepthWrite)
overridevirtual

Reimplemented from Particle3DRender.

Member Data Documentation

var __pad0__
local __pad0__
GLProgramState* _glProgramState
protected
var _glProgramState
protected
local _glProgramState
protected
IndexBuffer* _indexBuffer
protected
var _indexBuffer
protected
local _indexBuffer
protected
std::vector<unsigned short>
_indexData
protected
var _indexData
protected
local _indexData
protected
MeshCommand* _meshCommand
protected
var _meshCommand
protected
local _meshCommand
protected
std::vector<posuvcolor>
_posuvcolors
protected
var _posuvcolors
protected
local _posuvcolors
protected
Texture2D* _texture
protected
var _texture
protected
local _texture
protected
VertexBuffer* _vertexBuffer
protected
var _vertexBuffer
protected
local _vertexBuffer
protected

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