# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NL3D::CPSDot Class Reference

this is just a coloured dot that fade to black during its life. More...

#include <ps_particle.h>

Inheritance diagram for NL3D::CPSDot

Inheritance graph
[legend]
Collaboration diagram for NL3D::CPSDot:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual void draw (void)
 process one pass for the particle. More...

void resize (uint32 size)
 Resize the bindable attributes containers. Size is the max number of element to be contained. DERIVERS MUST CALL THEIR PARENT VERSION. More...

bool newElement (void)
 we don't save datas so it does nothing for now. More...

void deleteElement (uint32)
 we don't save datas so it does nothing for now. More...

 CPSDot ()
 ctor. More...

 NLMISC_DECLARE_CLASS (CPSDot)
void serial (NLMISC::IStream &f)
 serialisation. More...


Protected Methods

void init (void)
virtual void updateMatAndVbForColor (void)
 update the material and the vb so that they match the color scheme. More...


Protected Attributes

CMaterial _Mat
CVertexBuffer _Vb

Detailed Description

this is just a coloured dot that fade to black during its life.

Definition at line 293 of file ps_particle.h.


Constructor & Destructor Documentation

NL3D::CPSDot::CPSDot ( ) [inline]
 

ctor.

Definition at line 312 of file ps_particle.h.


Member Function Documentation

NL3D::CPSDot::NLMISC_DECLARE_CLASS ( CPSDot )
 

void NL3D::CPSDot::deleteElement ( uint32 index ) [inline, virtual]
 

we don't save datas so it does nothing for now.

Reimplemented from NL3D::CPSParticle.

Definition at line 307 of file ps_particle.h.

void NL3D::CPSDot::draw ( void ) [virtual]
 

process one pass for the particle.

Reimplemented from NL3D::CPSParticle.

Definition at line 439 of file ps_particle.cpp.

void NL3D::CPSDot::init ( void ) [protected]
 

Definition at line 405 of file ps_particle.cpp.

bool NL3D::CPSDot::newElement ( void ) [inline, virtual]
 

we don't save datas so it does nothing for now.

Reimplemented from NL3D::CPSParticle.

Definition at line 304 of file ps_particle.h.

void NL3D::CPSDot::resize ( uint32 size ) [inline, virtual]
 

Resize the bindable attributes containers. Size is the max number of element to be contained. DERIVERS MUST CALL THEIR PARENT VERSION.

Reimplemented from NL3D::CPSParticle.

Definition at line 301 of file ps_particle.h.

void NL3D::CPSDot::serial ( NLMISC::IStream & f ) [virtual]
 

serialisation.

Reimplemented from NL3D::CPSParticle.

Definition at line 485 of file ps_particle.cpp.

void NL3D::CPSDot::updateMatAndVbForColor ( void ) [protected, virtual]
 

update the material and the vb so that they match the color scheme.

Reimplemented from NL3D::CPSColoredParticle.

Definition at line 418 of file ps_particle.cpp.


Member Data Documentation

CMaterial NL3D::CPSDot::_Mat [protected]
 

Definition at line 321 of file ps_particle.h.

CVertexBuffer NL3D::CPSDot::_Vb [protected]
 

Definition at line 322 of file ps_particle.h.


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