Exemplo n.º 1
0
        void CreateSemaphores()
        {
            var info = new VkSemaphoreCreateInfo();

            info.sType = CSGL.Vulkan.VkStructureType.SemaphoreCreateInfo;

            VK.CreateSemaphore(device, ref info, alloc, out imageAvailableSemaphore);
            VK.CreateSemaphore(device, ref info, alloc, out renderFinishedSemaphore);
        }