123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- #import <UIKit/UIKit.h>
- class String;
- @class GodotView;
- @protocol DisplayLayer;
- @protocol GodotViewRendererProtocol;
- @protocol GodotViewDelegate
- - (BOOL)godotViewFinishedSetup:(GodotView *)view;
- @end
- @interface GodotView : UIView
- @property(assign, nonatomic) id<GodotViewRendererProtocol> renderer;
- @property(assign, nonatomic) id<GodotViewDelegate> delegate;
- @property(assign, readonly, nonatomic) BOOL isActive;
- @property(assign, nonatomic) BOOL useCADisplayLink;
- @property(strong, readonly, nonatomic) CALayer<DisplayLayer> *renderingLayer;
- @property(assign, readonly, nonatomic) BOOL canRender;
- @property(assign, nonatomic) NSTimeInterval renderingInterval;
- - (CALayer<DisplayLayer> *)initializeRenderingForDriver:(NSString *)driverName;
- - (void)stopRendering;
- - (void)startRendering;
- @end
|