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

Function AppCreateMetalWindow

vulkaninfo/vulkaninfo.h:1001–1006  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

999//------------------------METAL_EXT--------------------------
1000#ifdef VK_USE_PLATFORM_METAL_EXT
1001static void AppCreateMetalWindow(AppInstance &inst) {
1002 inst.metal_window = CreateMetalView(inst.width, inst.height);
1003 if (inst.metal_window == nullptr) {
1004 THROW_ERR("Could not create a native Metal view.");
1005 }
1006}
1007
1008static VkSurfaceKHR AppCreateMetalSurface(AppInstance &inst) {
1009 VkMetalSurfaceCreateInfoEXT createInfo;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected