Function TRAP::Graphics::API::VulkanInits::InstanceCreateInfo#

Function Documentation#

constexpr VkInstanceCreateInfo TRAP::Graphics::API::VulkanInits::InstanceCreateInfo(const VkApplicationInfo &appInfo, std::span<const char*> instanceLayers = {}, std::span<const char*> instanceExtensions = {}) noexcept#

Create a Vulkan instance create info from app info, instance layers and extensions.

Parameters:
  • appInfo – Vulkan application info.

  • instanceLayersOptional: Instance layers to use.

  • instanceExtensionsOptional: Instance extensions to use.

Returns:

VkInstanceCreateInfo.