 |
VulkanDeviceCheckDeviceMinimumRequirements(PhysicalDeviceDetails, SurfaceDetails, Boolean, Boolean) Method |
Returns true if the physicalDevice (specified in physicalDeviceDetails) is supported to run SharpEngine.
When isSurfaceSupportRequired is true, then also the vulkanSurface is checked.
Namespace: Ab4d.SharpEngine.VulkanAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic static bool CheckDeviceMinimumRequirements(
PhysicalDeviceDetails physicalDeviceDetails,
SurfaceDetails? surfaceDetails,
bool isSurfaceSupportRequired,
bool throwNotSupportedException = false
)
Parameters
- physicalDeviceDetails PhysicalDeviceDetails
- PhysicalDeviceDetails
- surfaceDetails SurfaceDetails
- SurfaceDetails (can be null)
- 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
Booleantrue if specified physicalDevice is supported to run SharpEngine
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Vulkan.VulkanDevice.CheckDeviceMinimumRequirements(Ab4d.SharpEngine.Vulkan.PhysicalDeviceDetails,Ab4d.SharpEngine.Vulkan.SurfaceDetails,System.Boolean,System.Boolean)"]
See Also