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

Last change on this file since 2051 was 2051, checked in by rez, 8 years ago

neercs: removed flags from setup, butchered scanline postfx

File size: 1.0 KB
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 ShaderSimple(FrameBuffer *fbo_output, int n);
27    void TraceQuad();
28    void Pause();
29    void Shader();
30    void InitShaderVar();
31    void UpdateVar();
32    void UpdateSize();
33
34    caca_canvas_t *m_cv_screen, *m_cv_setup;
35    class TextRender *m_txt_screen, *m_txt_setup;
36
37    Entity *m_fps_debug;
38
39    bool m_ready;
40    bool m_pause;
41    bool m_shader;
42    bool m_shader_remanence;
43    bool m_shader_glow;
44    bool m_shader_blur;
45    bool m_shader_postfx;
46    bool m_shader_copper;
47    bool m_shader_color;
48    bool m_shader_noise;
49    bool m_shader_mirror;
50    bool m_shader_radial;
51};
52
53#endif // __VIDEO_RENDER_H__
Note: See TracBrowser for help on using the repository browser.