VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
diguyOglParticleSystemRenderer.h
Go to the documentation of this file.
1 #pragma once
2 #include <diguyParticleSystem.h>
3 
4 namespace osg
5 {
6  class Camera;
7 }
8 
9 namespace makVrv
10 {
11  class DtDe;
12 }
13 
15 {
16 
17 public:
19 
21 
22  virtual void setup_particle_rendering(int render_pass_flags);
23  virtual void end_particle_rendering(int render_pass_flags);
24 
25  virtual void draw_particle_buffer(const diguyParticleDrawDesc * draw_desc, void * data);
26  virtual bool has_custom_coordinate_conversion(){ return true; }
27 
28  virtual void convert_position_for_vbo_generation(double * x, double * y, double * z);
29 
31 
32  unsigned int m_vertex_object;
33  double m_camera_pos[3];
35  osg::Camera* myCamera;
36 
37 };
38 
44 

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)