Class DeviceCreateInfoModifier

Inheritance Relationships

Base Type

Class Documentation

class DeviceCreateInfoModifier : public gpa::utility::vulkan::detail::LayerExtensionCollectionModifier<VkDeviceCreateInfo>

Provides automated validation of extension loading when populating VkDeviceCreateInfo objects.

Public Functions

inline void EnumerateExtensions(uint32_t enabledLayerCount, const char *const *ppEnabledLayerNames, VkPhysicalDevice vkPhysicalDevice, PFN_vkEnumerateDeviceExtensionProperties enumerateDeviceExtensionProperties)

Enumerates VkPhysicalDevice VkExtensionProperties.

Parameters
  • enabledLayerCount -- [in] The value provided by the given VkPhysicalDevice object's VkInstance VkInstanceCreateInfo enabledLayerCount member

  • ppEnabledLayerNames -- [in] The array of layer names provided by the given VkPhysicalDevice object's VkInstance VkInstanceCreateInfo ppEnabledLayerNames member

  • vkPhysicalDevice -- [in] The VkPhysicalDevice to enumerate VkExtensionProperties for

  • enumerateDeviceExtensionProperties -- [in]

    The function to use to enumerate VkExtensionProperties

    NOTE : Calling this method will clear the current list of available extensions used for validation

    NOTE : Calling this method will NOT clear the current list of custom extensions or revert the targeted VkCreateInfo structure