📄 glview.h
字号:
//// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -