# Interface VulkanTemporaryAllocatorType.ByteBufferMemoryReceiverType<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.ByteBufferMemoryReceiverType<T,E extends Exception>
A receiver of allocated memory.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `T`
  `receive(ByteBuffer buffer)`
  Receive allocated memory.

- ## Method Details

  - ### receive

    T receive(ByteBuffer buffer) throws VulkanException, E
    Receive allocated memory.
    Parameters:
      `buffer` - The allocated memory as a byte buffer
    Returns:
      A value of `T`
    Throws:
      `VulkanException` - If required
      `E` - If required