DI-Guy SDK Documentation  13.7
diguyParticleSystemRenderer Class Referenceabstract

An interface class that allows diguy to trigger an immediate mode rendering of a diguy particle system. This class allows you to directly utilize the DI-Guy particle system. See diguyOglParticleSystemRenderer for a sample implementation. More...

#include <diguyParticleSystem.h>

Inheritance diagram for diguyParticleSystemRenderer:
diguyOglParticleSystemRenderer diguyOglParticleSystemRenderer_21

Public Member Functions

 diguyParticleSystemRenderer ()
 
virtual ~diguyParticleSystemRenderer ()
 just stubbed out for subclasses More...
 
virtual void setup_particle_rendering (int render_pass_flags)=0
 Function is called before individual particle systems are rendered. More...
 
virtual void end_particle_rendering (int render_pass_flags)=0
 Function is called after all individual particle systems are rendered. More...
 
virtual void draw_particle_buffer (const diguyParticleDrawDesc *draw_desc, void *particle_data)=0
 Function is called whenever a buffer of particles is ready to be drawn. More...
 

Public Attributes

float m_camera_matrix [16]
 
float m_world_rotation_matrix [16]
 

Detailed Description

An interface class that allows diguy to trigger an immediate mode rendering of a diguy particle system. This class allows you to directly utilize the DI-Guy particle system. See diguyOglParticleSystemRenderer for a sample implementation.

Can be subclassed by filling out the diguy_graphics_set_particle_renderer_create_func().

Constructor & Destructor Documentation

diguyParticleSystemRenderer::diguyParticleSystemRenderer ( )
virtual diguyParticleSystemRenderer::~diguyParticleSystemRenderer ( )
inlinevirtual

just stubbed out for subclasses

Member Function Documentation

virtual void diguyParticleSystemRenderer::setup_particle_rendering ( int  render_pass_flags)
pure virtual

Function is called before individual particle systems are rendered.

Implemented in diguyOglParticleSystemRenderer, and diguyOglParticleSystemRenderer_21.

virtual void diguyParticleSystemRenderer::end_particle_rendering ( int  render_pass_flags)
pure virtual

Function is called after all individual particle systems are rendered.

Implemented in diguyOglParticleSystemRenderer, and diguyOglParticleSystemRenderer_21.

virtual void diguyParticleSystemRenderer::draw_particle_buffer ( const diguyParticleDrawDesc draw_desc,
void *  particle_data 
)
pure virtual

Function is called whenever a buffer of particles is ready to be drawn.

Implemented in diguyOglParticleSystemRenderer, and diguyOglParticleSystemRenderer_21.

Member Data Documentation

float diguyParticleSystemRenderer::m_camera_matrix[16]
float diguyParticleSystemRenderer::m_world_rotation_matrix[16]

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