#include "BackendBinding.hpp" #include namespace aurora::webgpu::utils { std::unique_ptr SetupWindowAndGetSurfaceDescriptorCocoa(SDL_Window* window) { SDL_MetalView view = SDL_Metal_CreateView(window); std::unique_ptr desc = std::make_unique(); desc->layer = SDL_Metal_GetLayer(view); return std::move(desc); } } // namespace aurora::webgpu::utils