Click or drag to resize
Ab4d.SharpEngine logo

VulkanDeviceCreate(ActionEngineCreateOptions, String) Method

Creates an instance of VulkanDevice by using an action that defines the EngineCreateOptions. 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: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
Syntax
C#
public static VulkanDevice Create(
	Action<EngineCreateOptions> configure,
	string? deviceName = null
)

Parameters

configure  ActionEngineCreateOptions
action that defines the EngineCreateOptions
deviceName  String  (Optional)
optional device name

Return Value

VulkanDevice
created VulkanDevice
See Also