|
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: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public 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
See Also