4#include <TargetConditionals.h>
7#if defined(__APPLE__) && (TARGET_OS_IPHONE == 1 || TARGET_IPHONE_SIMULATOR == 1)
8#import <MetalKit/MetalKit.h>
23#if defined(__APPLE__) && (TARGET_OS_IPHONE == 1 || TARGET_IPHONE_SIMULATOR == 1)
25 return absl::FailedPreconditionError(
"Metal view not attached");
30 LOG_INFO(
"IOSHost",
"Initialized iOS host (stub)");
31 return absl::OkStatus();
33 return absl::FailedPreconditionError(
"IOSHost only available on iOS");
static Application & Instance()
void Initialize(const AppConfig &config)
absl::Status Initialize(const IOSHostConfig &config)
void SetMetalView(void *view)
void * GetMetalView() const
#define LOG_INFO(category, format,...)