//
//  MetalDelegate.h
//  Main
//
//  Created by zhangdoa on 14/04/2019.
//  Copyright Â© 2019 InnocenceEngine. All rights reserved.
//

#ifndef MetalDelegate_h
#define MetalDelegate_h

#import <Cocoa/Cocoa.h>
#import <MetalKit/MetalKit.h>

@interface MetalDelegate : NSObject <MTKViewDelegate> {
}
- (void)createDevice;
- (void)createView:(NSRect)frame;
- (MTKView*)getView;
- (void)createLibrary;
- (void)createPipeline;
- (void)createBuffer;
- (void)submitGPUData:(void*)MeshComp;
- (void)render;
@end

#endif /* MetalDelegate_h */
