- java.lang.Object
-
- com.io7m.jcoronado.lwjgl.VMALWJGLAllocatorProvider
-
- All Implemented Interfaces:
VMAAllocatorProviderType
public final class VMALWJGLAllocatorProvider extends java.lang.Object implements VMAAllocatorProviderType
A LWJGL-based allocator provider.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VMAAllocatorProviderType
create()
VMAAllocatorType
createAllocator(VMAAllocatorCreateInfo info)
Create a new allocator.java.lang.String
providerName()
java.lang.String
providerVersion()
-
-
-
Method Detail
-
create
public static VMAAllocatorProviderType create()
- Returns:
- A new allocator provider
-
providerName
public java.lang.String providerName()
- Specified by:
providerName
in interfaceVMAAllocatorProviderType
- Returns:
- The name of the (software) provider
-
providerVersion
public java.lang.String providerVersion()
- Specified by:
providerVersion
in interfaceVMAAllocatorProviderType
- Returns:
- The version of the (software) provider
-
createAllocator
public VMAAllocatorType createAllocator(VMAAllocatorCreateInfo info) throws VulkanException
Description copied from interface:VMAAllocatorProviderType
Create a new allocator.- Specified by:
createAllocator
in interfaceVMAAllocatorProviderType
- Parameters:
info
- The creation info- Returns:
- A new allocator
- Throws:
VulkanException
- On errors
-
-