Badminton-Scoreboard/Classes/UnityAppController+Rendering.h

30 lines
528 B
C
Raw Normal View History

2023-10-08 02:24:48 +00:00
#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