Mercurial > xcodescriptingbridge
view Classes/MySampleProjectViewController.h @ 5:b8c22903ebc1
Added README.txt
author | Eric Wing <ewing . public |-at-| gmail . com> |
---|---|
date | Mon, 08 Aug 2011 19:23:35 -0700 |
parents | 5ec52341f221 |
children |
line wrap: on
line source
// // MySampleProjectViewController.h // MySampleProject // // Created by Eric Wing on 7/29/11. // Copyright 2011 __MyCompanyName__. All rights reserved. // #import <UIKit/UIKit.h> #import <OpenGLES/EAGL.h> #import <OpenGLES/ES1/gl.h> #import <OpenGLES/ES1/glext.h> #import <OpenGLES/ES2/gl.h> #import <OpenGLES/ES2/glext.h> @interface MySampleProjectViewController : UIViewController { EAGLContext *context; GLuint program; BOOL animating; NSInteger animationFrameInterval; CADisplayLink *displayLink; } @property (readonly, nonatomic, getter=isAnimating) BOOL animating; @property (nonatomic) NSInteger animationFrameInterval; - (void)startAnimation; - (void)stopAnimation; @end