Click or drag to resize
Ab4d.SharpEngine logo

VulkanDeviceCreate(SurfaceKHR, EngineCreateOptions, String) Method

Creates an instance of VulkanDevice that will use the Vulkan surface that is defined by the SurfaceKHR. 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.Vulkan
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public static VulkanDevice Create(
	SurfaceKHR defaultSurface,
	EngineCreateOptions? createOptions = null,
	string? deviceName = null
)

Parameters

defaultSurface  SurfaceKHR
Vulkan surface that is defined by the SurfaceKHR
createOptions  EngineCreateOptions  (Optional)
optional EngineCreateOptions
deviceName  String  (Optional)
optional device name

Return Value

VulkanDevice
created VulkanDevice
See Also