eqNbody::ParticleRenderer Class Reference

List of all members.

Public Member Functions

void init ()
void setPositions (float *pos, int numParticles)
void setColors (float *color, int numParticles)
void setPBO (unsigned int pbo, int numParticles)
void draw (DisplayMode mode=PARTICLE_POINTS)
void setPointSize (float size)
void setSpriteSize (float size)

Protected Member Functions

void _createTexture (int resolution)
void _drawPoints (bool color=false)

Protected Attributes

float * m_pos
int m_numParticles
float m_pointSize
float m_spriteSize
unsigned int m_vertexShader
unsigned int m_pixelShader
unsigned int m_program
unsigned int m_texture
unsigned int m_pbo
unsigned int m_vboColor

Detailed Description

Definition at line 47 of file render_particles.h.


The documentation for this class was generated from the following files:
Generated on Sat Feb 6 13:15:17 2010 for Equalizer 0.9.1 by  doxygen 1.6.1