source: trunk/src/video.h @ 211

Last change on this file since 211 was 211, checked in by sam, 10 years ago

Put HUD objects back on front of the scene.

  • Property svn:keywords set to Id
File size: 551 bytes
Line 
1//
2// Deus Hax (working title)
3// Copyright (c) 2010 Sam Hocevar <sam@hocevar.net>
4//
5
6//
7// The Video interface
8// -------------------
9// Helper GL functions to set up the scene.
10//
11
12#if !defined __DH_VIDEO_H__
13#define __DH_VIDEO_H__
14
15#include <stdint.h>
16
17class Video
18{
19public:
20    static void Setup(int width, int height);
21    static void SetFov(float theta);
22    static void SetDepth(bool set);
23    static void Clear();
24    static void Capture(uint32_t *buffer);
25    static int GetWidth();
26    static int GetHeight();
27};
28
29#endif // __DH_VIDEO_H__
30
Note: See TracBrowser for help on using the repository browser.