- java.lang.Object
-
- com.io7m.jcoronado.lwjgl.VulkanLWJGLInstanceProvider
-
- All Implemented Interfaces:
VulkanInstanceProviderType
public final class VulkanLWJGLInstanceProvider extends java.lang.Object implements VulkanInstanceProviderType
A LWJGL-based instance provider.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VulkanInstanceProviderType
create()
VulkanInstanceType
createInstance(VulkanInstanceCreateInfo info, java.util.Optional<VulkanHostAllocatorType> allocator)
Create a new instance.java.util.Map<java.lang.String,VulkanExtensionProperties>
extensions()
java.util.Map<java.lang.String,VulkanLayerProperties>
layers()
java.lang.String
providerName()
java.lang.String
providerVersion()
-
-
-
Method Detail
-
create
public static VulkanInstanceProviderType create()
- Returns:
- A new instance provider
-
providerName
public java.lang.String providerName()
- Specified by:
providerName
in interfaceVulkanInstanceProviderType
- Returns:
- The name of the (software) provider
-
providerVersion
public java.lang.String providerVersion()
- Specified by:
providerVersion
in interfaceVulkanInstanceProviderType
- Returns:
- The version of the (software) provider
-
extensions
public java.util.Map<java.lang.String,VulkanExtensionProperties> extensions() throws VulkanException
- Specified by:
extensions
in interfaceVulkanInstanceProviderType
- Returns:
- The available instance extensions
- Throws:
VulkanException
- On errors
-
layers
public java.util.Map<java.lang.String,VulkanLayerProperties> layers() throws VulkanException
- Specified by:
layers
in interfaceVulkanInstanceProviderType
- Returns:
- The available layers
- Throws:
VulkanException
- On errors
-
createInstance
public VulkanInstanceType createInstance(VulkanInstanceCreateInfo info, java.util.Optional<VulkanHostAllocatorType> allocator) throws VulkanException
Description copied from interface:VulkanInstanceProviderType
Create a new instance.- Specified by:
createInstance
in interfaceVulkanInstanceProviderType
- Parameters:
info
- The creation infoallocator
- The optional host allocator- Returns:
- A new instance
- Throws:
VulkanException
- On errors
-
-