Interface VulkanInstanceProviderType
- All Known Implementing Classes:
VulkanLWJGLInstanceProvider
public interface VulkanInstanceProviderType
Functions to provide Vulkan instances.
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(VulkanInstanceCreateInfo info, Optional<VulkanHostAllocatorType> allocator) Create a new instance.layers()
-
Method Details
-
minimumRequiredVersion
VulkanVersion minimumRequiredVersion()- Returns:
- The minimum version required by the instance provider
-
providerName
String providerName()- Returns:
- The name of the (software) provider
-
providerVersion
String providerVersion()- Returns:
- The version of the (software) provider
-
findSupportedInstanceVersion
VulkanVersion findSupportedInstanceVersion()- Returns:
- The supported instance version
-
extensions
- Returns:
- The available instance extensions
- Throws:
VulkanException- On errors
-
layers
- Returns:
- The available layers
- Throws:
VulkanException- On errors
-
createInstance
VulkanInstanceType createInstance(VulkanInstanceCreateInfo info, Optional<VulkanHostAllocatorType> allocator) throws VulkanException Create a new instance.- Parameters:
info- The creation infoallocator- The optional host allocator- Returns:
- A new instance
- Throws:
VulkanException- On errors
-