yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
ios_host.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
5#include "absl/status/status.h"
6#include "app/application.h"
7
8namespace yaze {
9namespace ios {
10
15
16class IOSHost {
17 public:
18 IOSHost() = default;
19 ~IOSHost();
20
21 absl::Status Initialize(const IOSHostConfig& config);
22 void Tick();
23 void Shutdown();
24
25 void SetMetalView(void* view);
26 void* GetMetalView() const;
27
28 private:
30 void* metal_view_ = nullptr;
31 bool initialized_ = false;
32};
33
34} // namespace ios
35} // namespace yaze
absl::Status Initialize(const IOSHostConfig &config)
Definition ios_host.mm:20
void SetMetalView(void *view)
Definition ios_host.mm:52
IOSHostConfig config_
Definition ios_host.h:29
void * GetMetalView() const
Definition ios_host.mm:57
Configuration options for the application startup.
Definition application.h:24