Files
LayaNative2.0/Conch/build/conch/proj.ios/LayaBox/ViewController.h
T
2020-11-11 16:17:13 +08:00

25 lines
564 B
Objective-C

#import <UIKit/UIKit.h>
#import <GLKit/GLKit.h>
#import <conchRuntime.h>
@class UIFloatPanel;
@interface ViewController : GLKViewController
{
@public
GLKView* m_pGLKView;
EAGLContext* m_pGLContext;
conchRuntime* m_pConchRuntime;
CADisplayLink* m_displayLink;
UIFloatPanel* m_floatPanel;
}
+(ViewController*)GetIOSViewController;
-(id)init;
- (void)startDisplayLink;
- (void)handleDisplayLink:(CADisplayLink *)displayLink;
- (void)stopDisplayLink;
@end