Interface VkInternalAllocationNotificationI

    • Method Detail

      • address

        default long address()
        Description copied from interface: Pointer
        Returns the raw pointer address as a long value.
        Specified by:
        address in interface Pointer
        Returns:
        the pointer address
      • callback

        default void callback(long args)
        Description copied from interface: CallbackI.V
        Will be called by native code.
        Specified by:
        callback in interface CallbackI.V
        Parameters:
        args - pointer to a DCArgs iterator
      • invoke

        void invoke(long pUserData,
                    long size,
                    int allocationType,
                    int allocationScope)
        Will be called by the Vulkan implementation when an internal allocation occurs.
        Parameters:
        pUserData - the value specified for VkAllocationCallbacks.pUserData in the allocator specified by the application
        size - the requested size of an allocation
        allocationType - the requested type of an allocation
        allocationScope - a VkSystemAllocationScope value specifying the scope of the lifetime of the allocation