glview.h

来自「simpe empty opengl application project f」· C头文件 代码 · 共 41 行

H
41
字号
////  GLView.h//  ___PROJECTNAME___////  Created by ___FULLUSERNAME___ on ___DATE___.//  Copyright ___ORGANIZATIONNAME___ ___YEAR___. All rights reserved.//#import <UIKit/UIKit.h>#import <OpenGLES/EAGL.h>#import <OpenGLES/ES1/gl.h>#import <OpenGLES/ES1/glext.h>#import "ConstantsAndMacros.h"#import "OpenGLCommon.h"@class GLViewController;@interface GLView : UIView{	@private	// The pixel dimensions of the backbuffer	GLint backingWidth;	GLint backingHeight;		EAGLContext *context;	GLuint viewRenderbuffer, viewFramebuffer;	GLuint depthRenderbuffer;	NSTimer *animationTimer;	NSTimeInterval animationInterval;	GLViewController *controller;	BOOL controllerSetup;}@property(nonatomic, assign) GLViewController *controller;@property NSTimeInterval animationInterval;-(void)startAnimation;-(void)stopAnimation;-(void)drawView;@end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?