Class VulkanLWJGLInstanceProvider
java.lang.Object
com.io7m.jcoronado.lwjgl.VulkanLWJGLInstanceProvider
- All Implemented Interfaces:
VulkanInstanceProviderType
A LWJGL-based instance provider.
-
Method Summary
Modifier and TypeMethodDescriptionstatic VulkanInstanceProviderTypecreate()createInstance(VulkanInstanceCreateInfo info, Optional<VulkanHostAllocatorType> allocator) Create a new instance.static VulkanInstanceProviderTypecreateWithConfiguration(VulkanInstanceProviderConfiguration configuration) layers()
-
Method Details
-
createWithConfiguration
public static VulkanInstanceProviderType createWithConfiguration(VulkanInstanceProviderConfiguration configuration) - Parameters:
configuration- The provider configuration- Returns:
- A new instance provider
-
create
- Returns:
- A new instance provider
-
minimumRequiredVersion
- Specified by:
minimumRequiredVersionin interfaceVulkanInstanceProviderType- Returns:
- The minimum version required by the instance provider
-
providerName
- Specified by:
providerNamein interfaceVulkanInstanceProviderType- Returns:
- The name of the (software) provider
-
providerVersion
- Specified by:
providerVersionin interfaceVulkanInstanceProviderType- Returns:
- The version of the (software) provider
-
findSupportedInstanceVersion
- Specified by:
findSupportedInstanceVersionin interfaceVulkanInstanceProviderType- Returns:
- The supported instance version
-
extensions
- Specified by:
extensionsin interfaceVulkanInstanceProviderType- Returns:
- The available instance extensions
- Throws:
VulkanException- On errors
-
layers
- Specified by:
layersin interfaceVulkanInstanceProviderType- Returns:
- The available layers
- Throws:
VulkanException- On errors
-
createInstance
public VulkanInstanceType createInstance(VulkanInstanceCreateInfo info, Optional<VulkanHostAllocatorType> allocator) throws VulkanException Description copied from interface:VulkanInstanceProviderTypeCreate a new instance.- Specified by:
createInstancein interfaceVulkanInstanceProviderType- Parameters:
info- The creation infoallocator- The optional host allocator- Returns:
- A new instance
- Throws:
VulkanException- On errors
-
configuration
- Specified by:
configurationin interfaceVulkanInstanceProviderType- Returns:
- The instance provider configuration
-