yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
ios_platform_state.mm
Go to the documentation of this file.
2
3namespace yaze {
4namespace platform {
5namespace ios {
6
7namespace {
8void* g_metal_view = nullptr;
10} // namespace
11
12void SetMetalView(void* view) {
13 g_metal_view = view;
14}
15
16void* GetMetalView() {
17 return g_metal_view;
18}
19
20void SetSafeAreaInsets(float left, float right, float top, float bottom) {
21 g_safe_area_insets = {left, right, top, bottom};
22}
23
25 return g_safe_area_insets;
26}
27
28} // namespace ios
29} // namespace platform
30} // namespace yaze
SafeAreaInsets GetSafeAreaInsets()
void SetSafeAreaInsets(float left, float right, float top, float bottom)
void SetMetalView(void *view)