Interface VulkanTemporaryAllocatorType.ByteBufferMemoryReceiverType<T,​E extends java.lang.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 java.lang.Exception>
    A receiver of 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 required
        E - If required
        E extends java.lang.Exception