示例#1
0
        public VkFence(VkFenceCreateFlags flags)
        {
            VkFenceCreateInfo createInfo = new VkFenceCreateInfo
            {
                sType = VkStructureType.FenceCreateInfo,
                flags = flags
            };

            Vulkan.vkCreateFence(Vulkan.device, &createInfo, null, out this).CheckResult();
        }