Module com.io7m.jcoronado.api
Package com.io7m.jcoronado.api
Interface VulkanTemporaryAllocatorType.RawMemoryReceiverType<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.RawMemoryReceiverType<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(long address, long size)
Receive allocated memory.
-
-
-
Method Detail
-
receive
T receive(long address, long size) throws VulkanException, E extends java.lang.Exception
Receive allocated memory.- Parameters:
address
- The address of the allocated memorysize
- The size of the allocated memory- Returns:
- A value of
T
- Throws:
VulkanException
- If requiredE
- If requiredE extends java.lang.Exception
-
-