Uses of Interface
com.io7m.jcoronado.api.VulkanTemporaryAllocatorType.ByteBufferMemoryReceiverType
-
Packages that use VulkanTemporaryAllocatorType.ByteBufferMemoryReceiverType Package Description com.io7m.jcoronado.api Type-safe Vulkan frontend (API)com.io7m.jcoronado.lwjgl Type-safe Vulkan frontend (LWJGL implementation) -
-
Uses of VulkanTemporaryAllocatorType.ByteBufferMemoryReceiverType in com.io7m.jcoronado.api
Methods in com.io7m.jcoronado.api with parameters of type VulkanTemporaryAllocatorType.ByteBufferMemoryReceiverType Modifier and Type Method Description <T,E extends java.lang.Exception>
TVulkanTemporaryAllocatorType. withAllocationBuffer(long size, long alignment, VulkanTemporaryAllocatorType.ByteBufferMemoryReceiverType<T,E> receiver)
Allocatesize
octets of memory, aligned toalignment
, pass it toreceiver
, then unconditionally deallocate the memory before returning the value ofT
returned byreceiver
.<T,E extends java.lang.Exception>
TVulkanTemporaryAllocatorType. withAllocationBufferInitialized(byte[] data, long alignment, VulkanTemporaryAllocatorType.ByteBufferMemoryReceiverType<T,E> receiver)
Allocatedata.length
octets of memory, aligned toalignment
, initialize it with the contents ofdata
, pass it toreceiver
, then unconditionally deallocate the memory before returning the value ofT
returned byreceiver
. -
Uses of VulkanTemporaryAllocatorType.ByteBufferMemoryReceiverType in com.io7m.jcoronado.lwjgl
Methods in com.io7m.jcoronado.lwjgl with parameters of type VulkanTemporaryAllocatorType.ByteBufferMemoryReceiverType Modifier and Type Method Description <T,E extends java.lang.Exception>
TVulkanLWJGLTemporaryAllocator. withAllocationBuffer(long size, long alignment, VulkanTemporaryAllocatorType.ByteBufferMemoryReceiverType<T,E> receiver)
<T,E extends java.lang.Exception>
TVulkanLWJGLTemporaryAllocator. withAllocationBufferInitialized(byte[] data, long alignment, VulkanTemporaryAllocatorType.ByteBufferMemoryReceiverType<T,E> receiver)
-