Click or drag to resize
Ab4d.SharpEngine logo

VulkanDeviceCheckDeviceMinimumRequirements(VulkanInstance, PhysicalDevice, SurfaceKHR, Boolean, Boolean) Method

Returns true if the specified physicalDevice is supported to run Ab4d.SharpEngine. When isSurfaceSupportRequired is true, then also the vulkanSurface is checked.

Namespace: Ab4d.SharpEngine.Vulkan
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public static bool CheckDeviceMinimumRequirements(
	VulkanInstance vulkanInstance,
	PhysicalDevice physicalDevice,
	SurfaceKHR vulkanSurface,
	bool isSurfaceSupportRequired,
	bool throwNotSupportedException = false
)

Parameters

vulkanInstance  VulkanInstance
VulkanInstance
physicalDevice  PhysicalDevice
PhysicalDevice
vulkanSurface  SurfaceKHR
SurfaceKhr
isSurfaceSupportRequired  Boolean
true when a valid surface support is required
throwNotSupportedException  Boolean  (Optional)
when true and the device does not meet minimum requirements, then an exception is thrown

Return Value

Boolean
true if specified physicalDevice is supported to run Ab4d.SharpEngine
See Also