source: trunk/tools/neercs/video/render.h @ 1806

Last change on this file since 1806 was 1806, checked in by rez, 11 years ago

moved noise/offset/retrace into a new shader

File size: 785 bytes
Line 
1//
2// Neercs
3//
4
5#if !defined __VIDEO_RENDER_H__
6#define __VIDEO_RENDER_H__
7
8class Render : public WorldEntity
9{
10public:
11    Render(caca_canvas_t *caca);
12    virtual ~Render();
13
14    char const *GetName() { return "<title>"; }
15
16protected:
17    virtual void TickGame(float seconds);
18    virtual void TickDraw(float seconds);
19
20    void Draw2D();
21    void Draw3D();
22
23private:
24    int CreateGLWindow();
25    int InitDraw();
26    void Pause();
27    void Shader();
28    void UpdateVar();
29
30    caca_canvas_t *m_caca;
31    bool m_ready;
32    bool m_pause;
33    bool m_polygon;
34    bool m_setup;
35    bool m_shader;
36    bool m_shader_remanency;
37    bool m_shader_blur;
38    bool m_shader_glow;
39    bool m_shader_radial;
40    bool m_shader_noise;
41    bool m_shader_postfx;
42};
43
44#endif // __VIDEO_RENDER_H__
45
Note: See TracBrowser for help on using the repository browser.