- Fixes #272 - Replaced MGLLayer with EGL calls - Re-implemented Zink renderer to work with new Renderer selection system (currently hidden due to unfinished)
18 lines
314 B
Objective-C
18 lines
314 B
Objective-C
#import <UIKit/UIKit.h>
|
|
#import <MetalKit/MetalKit.h>
|
|
#import "MGLKit.h"
|
|
|
|
@interface GameSurfaceView : UIView
|
|
{
|
|
CALayer* layer;
|
|
CGColorSpaceRef colorSpace;
|
|
CGDataProviderDirectCallbacks callbacks;
|
|
}
|
|
@end
|
|
|
|
@interface SurfaceViewController : UIViewController
|
|
|
|
@property(nonatomic, strong) UIView* surfaceView;
|
|
|
|
@end
|