|
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.VulkanAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax 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
VulkanDevicecreated VulkanDevice
See Also