opengl-playground/imgui-submodule/imgui/examples/example_apple_metal/Shared/ViewController.h

20 lines
264 B
Objective-C

#import <Metal/Metal.h>
#import <MetalKit/MetalKit.h>
#import "Renderer.h"
#if TARGET_OS_IPHONE
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
#else
#import <Cocoa/Cocoa.h>
@interface ViewController : NSViewController
@end
#endif