struct
ApplicationSetupUsed as configuration for creating a new tp::
Constructors, destructors, conversion operators
-
ApplicationSetup(ApplicationIdentifier applicationIdentifier = {},
VulkanValidationSetup vulkanValidation = {},
DebugReportHandler* debugReportHandler = nullptr,
ArrayView<const char*const> extensions = {},
ArrayView<const char*const> instanceLayers = {},
Version apiVersion = Version::
getMaxUsedVulkanAPIVersion(), void* vkCreateInfoExtPtr = nullptr)
Function documentation
tp:: ApplicationSetup:: ApplicationSetup(ApplicationIdentifier applicationIdentifier = {},
VulkanValidationSetup vulkanValidation = {},
DebugReportHandler* debugReportHandler = nullptr,
ArrayView<const char*const> extensions = {},
ArrayView<const char*const> instanceLayers = {},
Version apiVersion = Version:: getMaxUsedVulkanAPIVersion(),
void* vkCreateInfoExtPtr = nullptr)
Parameters | |
---|---|
applicationIdentifier | The optional identification of your application. |
vulkanValidation | Allows enabling of Vulkan validation layers and provides control over its features. |
debugReportHandler | If not nullptr , points to the object responsible for reporting debug and validation information. If nullptr , reporting of debug information will be disabled. |
extensions | The set of application extensions or Vulkan instance extensions to enable. The extensions must be available, as can be checked with tp:: |
instanceLayers | The set of additional Vulkan instance layers to enable. The layers must be available, as can be checked with tp:: |
apiVersion | The highest Vulkan API version that this application will use. Only the major and minor versions are considered. Should be equal or higher than tp:: |
vkCreateInfoExtPtr | A pointer to additional Vulkan structures to be passed in pNext of VkInstanceCreateInfo. |