MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Tools / AppCreateMacOSWindow

Function AppCreateMacOSWindow

vulkaninfo/vulkaninfo.h:975–980  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

973//------------------------MACOS_MVK--------------------------
974#ifdef VK_USE_PLATFORM_MACOS_MVK
975static void AppCreateMacOSWindow(AppInstance &inst) {
976 inst.macos_window = CreateMetalView(inst.width, inst.height);
977 if (inst.macos_window == nullptr) {
978 THROW_ERR("Could not create a native Metal view.");
979 }
980}
981
982static VkSurfaceKHR AppCreateMacOSSurface(AppInstance &inst) {
983 VkMacOSSurfaceCreateInfoMVK createInfo;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected