 |
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.VulkanAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic 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
Booleantrue if specified physicalDevice is supported to run Ab4d.SharpEngine
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Vulkan.VulkanDevice.CheckDeviceMinimumRequirements(Ab4d.SharpEngine.Vulkan.VulkanInstance,Ab4d.Vulkan.PhysicalDevice,Ab4d.Vulkan.SurfaceKHR,System.Boolean,System.Boolean)"]
See Also