diff options
author | dan sinclair <dj2@everburning.com> | 2019-02-07 09:40:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-07 09:40:02 -0500 |
commit | 43c8b2d2e187c7c81ac47d63314ee019191c5cd6 (patch) | |
tree | e05cafdf1090ac9d5412f03da5da54e427725bb3 /include | |
parent | 05a490ce54781f7943d1f80462c923fc406724c8 (diff) | |
download | amber-43c8b2d2e187c7c81ac47d63314ee019191c5cd6.tar.gz |
[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.
Diffstat (limited to 'include')
-rw-r--r-- | include/amber/amber_vulkan.h | 5 |
1 files changed, 3 insertions, 2 deletions
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. |