From 43c8b2d2e187c7c81ac47d63314ee019191c5cd6 Mon Sep 17 00:00:00 2001 From: dan sinclair Date: Thu, 7 Feb 2019 09:40:02 -0500 Subject: [vulkan] Always require vulkan to be provided to library. (#266) This CL requires that all of the device and instance information for the vulkan engine are provided. The Amber library does not create the device internally anymore. --- include/amber/amber_vulkan.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/amber/amber_vulkan.h b/include/amber/amber_vulkan.h index c1b09c0..71aa4eb 100644 --- a/include/amber/amber_vulkan.h +++ b/include/amber/amber_vulkan.h @@ -24,9 +24,10 @@ namespace amber { -/// Configuration for the Vulkan Engine. +/// Configuration for the Vulkan Engine. The following are all required when +/// when using the vulkan backend. struct VulkanEngineConfig : public EngineConfig { - /// REQUIRED. The Vulkan instance procedure loader. + /// The Vulkan instance procedure loader. PFN_vkGetInstanceProcAddr vkGetInstanceProcAddr; /// The VkInstance to use. -- cgit v1.2.3