#include <CCPURender.h>
Classes | |
struct | VertexInfo |
Public Member Functions | |
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 void | copyAttributesTo (PURender *render) override |
var | copyAttributesTo ( var render) |
local | copyAttributesTo ( local render) |
virtual | ~PUParticle3DEntityRender () |
![]() | |
virtual void | prepare () |
virtual void | unPrepare () |
virtual void | updateRender (PUParticle3D *particle, float deltaTime, bool firstParticle) |
local | updateRender ( local particle, local deltaTime, local firstParticle) |
const std::string & | getRenderType (void) const |
local | getRenderType () |
void | setRenderType (const std::string &observerType) |
virtual PURender * | clone ()=0 |
![]() | |
virtual void | render (Renderer *renderer, const Mat4 &transform, ParticleSystem3D *particleSystem)=0 |
local | render ( local renderer, local transform, local particleSystem) |
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 () |
![]() | |
void | retain () |
Retains the ownership. More... | |
void | release () |
Releases the ownership immediately. More... | |
Ref * | autorelease () |
Releases the ownership sometime soon automatically. More... | |
unsigned int | getReferenceCount () const |
Returns the Ref's current reference count. More... | |
virtual | ~Ref () |
Destructor. More... | |
Public Attributes | |
CC_CONSTRUCTOR_ACCESS | __pad0__: PUParticle3DEntityRender() |
local | __pad0__: PUParticle3DEntityRender() |
![]() | |
bool | autoRotate |
![]() | |
CC_CONSTRUCTOR_ACCESS | __pad0__: Particle3DRender() : _particleSystem(nullptr) |
Protected Member Functions | |
bool | initRender (const std::string &texFile) |
![]() | |
Ref () | |
Constructor. More... | |
Ref () | |
Constructor. More... | |
Protected Attributes | |
MeshCommand * | _meshCommand |
Texture2D * | _texture |
GLProgramState * | _glProgramState |
IndexBuffer * | _indexBuffer |
VertexBuffer * | _vertexBuffer |
std::vector< VertexInfo > | _vertices |
std::vector< unsigned short > | _indices |
var | _indices |
local | _indices |
std::string | _texFile |
![]() | |
std::string | _renderType |
![]() | |
ParticleSystem3D * | _particleSystem |
bool | _isVisible |
Vec3 | _rendererScale |
bool | _depthTest |
bool | _depthWrite |
![]() | |
unsigned int | _referenceCount |
count of references More... | |
local | _referenceCount |
count of references More... | |
|
virtual |
|
virtual |
|
virtual |
|
overridevirtual |
Reimplemented from PURender.
Reimplemented in PUSphereRender, and PUParticle3DQuadRender.
|
overridevirtual |
Reimplemented from PURender.
Reimplemented in PUSphereRender, and PUParticle3DQuadRender.
|
overridevirtual |
Reimplemented from PURender.
Reimplemented in PUSphereRender, and PUParticle3DQuadRender.
|
protected |
|
protected |
|
protected |
|
overridevirtual |
Reimplemented from Particle3DRender.
|
overridevirtual |
Reimplemented from Particle3DRender.
|
overridevirtual |
Reimplemented from Particle3DRender.
|
overridevirtual |
Reimplemented from Particle3DRender.
|
overridevirtual |
Reimplemented from Particle3DRender.
|
overridevirtual |
Reimplemented from Particle3DRender.
CC_CONSTRUCTOR_ACCESS __pad0__ |
var __pad0__ |
local __pad0__ |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |