public VkFence(VkFenceCreateFlags flags) { VkFenceCreateInfo createInfo = new VkFenceCreateInfo { sType = VkStructureType.FenceCreateInfo, flags = flags }; Vulkan.vkCreateFence(Vulkan.device, &createInfo, null, out this).CheckResult(); }