Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/heathaze/src/lib/graphics/effects/heat_haze_manager.h @ 10293

Last change on this file since 10293 was 10250, checked in by snellen, 18 years ago

ping

File size: 745 bytes
Line 
1/*!
2 * @file proto_class.h
3 * @brief A class to manage all the heat particles to get a correct heat haze effect
4*/
5
6#ifndef _HEAT_HAZE_MANAGER_H
7#define _HEAT_HAZE_MANAGER_H
8
9#include "base_object.h"
10#include "shader.h"
11#include "texture.h"
12#include "particles/heat_particles.h"
13
14
15//! A class to manage all the heat particles to get a correct heat haze effect
16class HeatHazeManager : public BaseObject {
17 friend class HeatParticle;
18
19  ObjectListDeclaration(HeatHazeManager);
20
21 public:
22  HeatHazeManager();
23  virtual ~HeatHazeManager();
24
25  void acquireMask();
26  void apply();
27
28 private:
29  void init();
30
31 private:
32  Texture  particleMask;
33
34  Shader   heatShader;
35
36// uniforms
37  Shader::Uniform*  parameters;
38
39};
40
41#endif /* _HEAT_HAZE_MANAGER_H */
Note: See TracBrowser for help on using the repository browser.