Interface VulkanHostAllocatorCallbacksType.ReallocationFunctionType

    • Method Detail

      • reallocate

        long reallocate​(long original,
                        long size,
                        long alignment,
                        VulkanSystemAllocationScope scope)
        Reallocate size octets of memory, aligned to alignment, of scope scope. The function must return the address of the allocated memory as an integer, or 0 if the allocation has failed. The function MUST NOT raise exceptions under any circumstances.
        original - The original memory address
        size - The size of the allocation
        alignment - The alignment of the allocation
        scope - The scope of the allocation
        The memory address