Click or drag to resize
Ab4d.SharpEngine logo

VulkanDeviceCreate(VulkanInstance, PhysicalDeviceDetails, EngineCreateOptions, SurfaceKHR, String) Method

Creates a new VulkanDevice with specified VulkanInstance, PhysicalDeviceDetails, EngineCreateOptions and optional surface and name.

Namespace: Ab4d.SharpEngine.Vulkan
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public static VulkanDevice Create(
	VulkanInstance vulkanInstance,
	PhysicalDeviceDetails physicalDeviceDetails,
	EngineCreateOptions createOptions,
	SurfaceKHR defaultSurface,
	string? deviceName = null
)

Parameters

vulkanInstance  VulkanInstance
VulkanInstance
physicalDeviceDetails  PhysicalDeviceDetails
PhysicalDeviceDetails
createOptions  EngineCreateOptions
EngineCreateOptions
defaultSurface  SurfaceKHR
optional SurfaceKHR or SurfaceKHR.Null
deviceName  String  (Optional)
optional device name

Return Value

VulkanDevice

[Missing <returns> documentation for "M:Ab4d.SharpEngine.Vulkan.VulkanDevice.Create(Ab4d.SharpEngine.Vulkan.VulkanInstance,Ab4d.SharpEngine.Vulkan.PhysicalDeviceDetails,Ab4d.SharpEngine.Common.EngineCreateOptions,Ab4d.Vulkan.SurfaceKHR,System.String)"]

See Also