Added support for per-example instance based extensions

This commit is contained in:
saschawillems 2018-03-03 11:49:46 +01:00
parent e7c4e24717
commit c918914bd4
2 changed files with 9 additions and 2 deletions

View file

@ -90,7 +90,8 @@ protected:
*/
VkPhysicalDeviceFeatures enabledFeatures{};
/** @brief Set of device extensions to be enabled for this example (must be set in the derived constructor) */
std::vector<const char*> enabledExtensions;
std::vector<const char*> enabledDeviceExtensions;
std::vector<const char*> enabledInstanceExtensions;
/** @brief Logical device, application's view of the physical device (GPU) */
// todo: getter? should always point to VulkanDevice->device
VkDevice device;