Badminton-Scoreboard/Classes/UnityAppController+Rendering.h
2023-10-08 10:24:48 +08:00

30 lines
528 B
Objective-C

#pragma once
#include "UnityForwardDecls.h"
#include "UnityAppController.h"
#include "UnityRendering.h"
@interface UnityAppController (Rendering)
- (void)createDisplayLink;
- (void)repaintDisplayLink;
- (void)destroyDisplayLink;
- (void)repaint;
- (void)selectRenderingAPI;
@property (readonly, nonatomic) UnityRenderingAPI renderingAPI;
@end
// helper to run unity loop along with proper handling of the rendering
#ifdef __cplusplus
extern "C" {
#endif
void UnityRepaint();
#ifdef __cplusplus
} // extern "C"
#endif