# Class VMALWJGLAllocatorProvider

java.lang.Object
com.io7m.jcoronado.lwjgl.VMALWJGLAllocatorProvider

All Implemented Interfaces:
  `VMAAllocatorProviderType`

public final class VMALWJGLAllocatorProvider extends Object implements VMAAllocatorProviderType
A LWJGL-based allocator provider.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static VMAAllocatorProviderType`
  `create()`
  `VMAAllocatorType`
  `createAllocator(VMAAllocatorCreateInfo info)`
  Create a new allocator.
  `String`
  `providerName()`
  `String`
  `providerVersion()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### create

    public static VMAAllocatorProviderType create()
    Returns:
      A new allocator provider

  - ### providerName

    public String providerName()
    Specified by:
      `providerName` in interface `VMAAllocatorProviderType`
    Returns:
      The name of the (software) provider

  - ### providerVersion

    public String providerVersion()
    Specified by:
      `providerVersion` in interface `VMAAllocatorProviderType`
    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 interface `VMAAllocatorProviderType`
    Parameters:
      `info` - The creation info
    Returns:
      A new allocator
    Throws:
      `VulkanException` - On errors