18 lines
401 B
Objective-C
Vendored
18 lines
401 B
Objective-C
Vendored
//
|
|
// Renderer.h
|
|
// objctest
|
|
//
|
|
// Created by Ronny Chan on 2024-02-13.
|
|
//
|
|
|
|
#import <MetalKit/MetalKit.h>
|
|
|
|
// Our platform independent renderer class. Implements the MTKViewDelegate protocol which
|
|
// allows it to accept per-frame update and drawable resize callbacks.
|
|
@interface Renderer : NSObject <MTKViewDelegate>
|
|
|
|
-(nonnull instancetype)initWithMetalKitView:(nonnull MTKView *)view;
|
|
|
|
@end
|
|
|