istereo
view src/ES1Renderer.h @ 21:75a63f9ab7cc
ha!
author | John Tsiombikas <nuclear@mutantstargoat.com> |
---|---|
date | Wed, 07 Sep 2011 10:49:11 +0300 |
parents | |
children |
line source
1 //
2 // ES1Renderer.h
3 // istereo
4 //
5 // Created by nuclear on 9/6/11.
6 // Copyright __MyCompanyName__ 2011. All rights reserved.
7 //
9 #import "ESRenderer.h"
11 #import <OpenGLES/ES1/gl.h>
12 #import <OpenGLES/ES1/glext.h>
14 @interface ES1Renderer : NSObject <ESRenderer>
15 {
16 @private
17 EAGLContext *context;
19 // The pixel dimensions of the CAEAGLLayer
20 GLint backingWidth;
21 GLint backingHeight;
23 // The OpenGL ES names for the framebuffer and renderbuffer used to render to this view
24 GLuint defaultFramebuffer, colorRenderbuffer;
25 }
27 - (void)render;
28 - (BOOL)resizeFromLayer:(CAEAGLLayer *)layer;
30 @end