Interface VulkanTemporaryAllocatorType.RawMemoryReceiverType<T, E extends Exception>

Type Parameters:
T - The type of returned values
E - The type of raised exceptions (other than VulkanException)
Enclosing interface:
VulkanTemporaryAllocatorType
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface VulkanTemporaryAllocatorType.RawMemoryReceiverType<T, E extends Exception>
A receiver of allocated memory.
  • Method Summary

    Modifier and Type
    Method
    Description
    receive(long address, long size)
    Receive allocated memory.
  • Method Details

    • receive

      T receive(long address, long size) throws VulkanException, E
      Receive allocated memory.
      Parameters:
      address - The address of the allocated memory
      size - The size of the allocated memory
      Returns:
      A value of T
      Throws:
      VulkanException - If required
      E - If required