Class VulkanLWJGLHostAllocatorProxy
java.lang.Object
com.io7m.jcoronado.lwjgl.internal.VulkanLWJGLHostAllocatorProxy
- All Implemented Interfaces:
AutoCloseable
A holder for allocated callbacks.
-
Method Summary
Modifier and TypeMethodDescriptionorg.lwjgl.vulkan.VkAllocationCallbacksvoidclose()create(Optional<VulkanHostAllocatorType> allocator) Create a proxy for the given allocator.
-
Method Details
-
create
Create a proxy for the given allocator.- Parameters:
allocator- The host allocator- Returns:
- A proxy
-
callbackBuffer
public org.lwjgl.vulkan.VkAllocationCallbacks callbackBuffer()- Returns:
- The callback buffer
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-