Click or drag to resize
Ab4d.SharpEngine logo

VulkanDeviceCreate(VulkanSurfaceProvider, ActionEngineCreateOptions, String) Method

Creates an instance of VulkanDevice that will use the Vulkan surface that is defined by the VulkanSurfaceProvider and will configure the EngineCreateOptions by using the specified configure action. This method will also create a VulkanInstance if it was not created before.

Namespace: Ab4d.SharpEngine.Vulkan
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public static VulkanDevice Create(
	VulkanSurfaceProvider? defaultSurfaceProvider,
	Action<EngineCreateOptions>? configure,
	string? deviceName = null
)

Parameters

defaultSurfaceProvider  VulkanSurfaceProvider
Vulkan surface that is defined by the VulkanSurfaceProvider
configure  ActionEngineCreateOptions
action that defines the EngineCreateOptions
deviceName  String  (Optional)
optional device name

Return Value

VulkanDevice
created VulkanDevice
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Vulkan.VulkanDevice.Create(Ab4d.SharpEngine.Vulkan.VulkanSurfaceProvider,System.Action{Ab4d.SharpEngine.Common.EngineCreateOptions},System.String)"]

See Also