Class VulkanLWJGLInstanceProvider
java.lang.Object
com.io7m.jcoronado.lwjgl.VulkanLWJGLInstanceProvider
-
Method Summary
Modifier and TypeMethodDescriptionstatic VulkanInstanceProviderTypecreate()createInstance(VulkanInstanceCreateInfo info, Optional<VulkanHostAllocatorType> allocator) Create a new instance.layers()
-
Method Details
-
create
- Returns:
- A new 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
-