 |
VulkanDeviceCreate(VulkanSurfaceProvider, EngineCreateOptions, String) Method |
Creates an instance of VulkanDevice that will use the Vulkan surface that is defined by the VulkanSurfaceProvider.
Optionally the
EngineCreateOptions can be used to specify the creation options.
This method will also create a VulkanInstance if it was not created before.
Namespace: Ab4d.SharpEngine.VulkanAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic static VulkanDevice Create(
VulkanSurfaceProvider? defaultSurfaceProvider,
EngineCreateOptions? createOptions = null,
string? deviceName = null
)
Parameters
- defaultSurfaceProvider VulkanSurfaceProvider
- Vulkan surface that is defined by the VulkanSurfaceProvider
- createOptions EngineCreateOptions (Optional)
- optional EngineCreateOptions
- deviceName String (Optional)
- optional device name
Return Value
VulkanDevicecreated VulkanDevice
See Also