Module com.io7m.jcoronado.api
Package com.io7m.jcoronado.api
Interface VulkanTemporaryAllocatorType.ByteBufferMemoryReceiverType<T,E extends java.lang.Exception>
-
- Type Parameters:
T
- The type of returned valuesE
- The type of raised exceptions (other thanVulkanException
)
- 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 java.lang.Exception>
A receiver of allocated memory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
receive(java.nio.ByteBuffer buffer)
Receive allocated memory.
-
-
-
Method Detail
-
receive
T receive(java.nio.ByteBuffer buffer) throws VulkanException, E extends java.lang.Exception
Receive allocated memory.- Parameters:
buffer
- The allocated memory as a byte buffer- Returns:
- A value of
T
- Throws:
VulkanException
- If requiredE
- If requiredE extends java.lang.Exception
-
-