aboutsummaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
authortaw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5>2008-05-16 00:13:29 +0000
committertaw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5>2008-05-16 00:13:29 +0000
commit17a153e21767fcc7a67186dd7ef8cdd0a7e26ed2 (patch)
treedbadcfb1a615f355f030add6c4df45563dd5d38f /src/types.h
parent789361fb972673d5c1ecca77c4ffb5242ecd493f (diff)
Postprocessing stuff
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@16 84d2e878-0bd5-11dd-ad15-13eda11d74c5
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h
index 5c1ba53..d072331 100644
--- a/src/types.h
+++ b/src/types.h
@@ -101,6 +101,8 @@ typedef struct {
GLhandleARB lighting_vert;
GLhandleARB lighting_frag;
GLhandleARB lighting_program;
+ GLhandleARB postprocess_frag;
+ GLhandleARB postprocess_program;
/* Textures */
Texture textures[MAX_TEXTURES];
@@ -110,6 +112,13 @@ typedef struct {
Uint32 t_fps;
int fps;
+ GLuint fbo;
+ GLuint fbotex;
+ GLuint fbodepth;
+ GLfloat aspect;
+ int width;
+ int height;
+
} RenderContext;
typedef struct {