Class InstanceCreateInfoModifier

Inheritance Relationships

Base Type

Class Documentation

class InstanceCreateInfoModifier : public gpa::utility::vulkan::detail::LayerExtensionCollectionModifier<VkInstanceCreateInfo>

Provides automated validation of layer and extension loading when populating VkInstanceCreateInfo objects

Public Functions

inline void EnumerateLayersAndExtensions(PFN_vkEnumerateInstanceLayerProperties enumerateInstanceLayerProperties, PFN_vkEnumerateInstanceExtensionProperties enumerateInstanceExtensionProperties)

Enumerates VkInstance VkLayerProperties and VkExtensionProperties

Note

Calling this method will clear the current list of available layers used for validation

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 layers or extensions or revert the targeted VkCreateInfo structure

Parameters
  • enumerateInstanceLayerProperties -- [in] The function to use to enumerate VkLayerProperties

  • enumerateInstanceExtensionProperties -- [in] The function to use to enumerate VkExtensionPropertie

Public Static Functions

static inline void RemoveVkStateTrackerCreateInfo(VkInstanceCreateInfo *pInstanceCreateInfo)

Remove any VkStateTrackerCreateInfo from a given VkInstanceCreateInfo

Parameters

instanceCreateInfo -- [in] The VkStateTrackerCreateInfo to remove VkStateTrackerCreateInfo objects from