List of all members.
Public Member Functions |
|
| ParticleRenderer (const GLEWContext *const glewContext) |
|
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) |
|
const GLEWContext * | glewGetContext () const |
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 50 of file render_particles.h.
The documentation for this class was generated from the following files: