Mercurial > games > semicongine
view semicongine/old/vulkan/platform/ios.nim @ 1190:a3eb305bcac2 compiletime-tests
start of complete and total refactoring: the ULTIMATE
author | sam <sam@basx.dev> |
---|---|
date | Sun, 07 Jul 2024 23:36:16 +0700 |
parents | semicongine/vulkan/platform/ios.nim@c66503386e8b |
children |
line wrap: on
line source
type VkIOSSurfaceCreateInfoMVK* = object sType*: VkStructureType pNext*: pointer flags*: VkIOSSurfaceCreateFlagsMVK pView*: pointer # extension VK_MVK_ios_surface var vkCreateIOSSurfaceMVK*: proc(instance: VkInstance, pCreateInfo: ptr VkIOSSurfaceCreateInfoMVK, pAllocator: ptr VkAllocationCallbacks, pSurface: ptr VkSurfaceKHR): VkResult {.stdcall.} proc loadVK_MVK_ios_surface*(instance: VkInstance) = loadVK_KHR_surface(instance) vkCreateIOSSurfaceMVK = cast[proc(instance: VkInstance, pCreateInfo: ptr VkIOSSurfaceCreateInfoMVK, pAllocator: ptr VkAllocationCallbacks, pSurface: ptr VkSurfaceKHR): VkResult {.stdcall.}](vkGetInstanceProcAddr(instance, "vkCreateIOSSurfaceMVK"))