LiteFX::Rendering::Backends::VulkanBackend::VulkanBackend¶
Initializes a new vulkan rendering backend.
Synopsis¶
Declared in <litefx/backends/vulkan.hpp>
[[dllimport, dllexport]] explicit VulkanBackend(
App const& app,
Span<String> const extensions = { },
Span<String> const validationLayers = { },
void* instanceExtensionObjects = nullptr);
Parameters¶
| Name | Description |
|---|---|
| app | An instance of the app that owns the backend. |
| extensions | A set of instance extensions to enable on the backend instance. |
| validationLayers | A set of validation layers to enable on the rendering backend. |
| instanceExtensionObjects | A pointer to additional extension objects that are stored in the instance's pNext chain during instance creation. |