Top Description Inners Constructors Methods
org.lwjgl.util.vma

public abstract Class VmaFreeDeviceMemoryFunction

extends Callback
implements VmaFreeDeviceMemoryFunctionI
Class Inheritance
All Implemented Interfaces
org.lwjgl.util.vma.VmaFreeDeviceMemoryFunctionI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.util.vma.VmaFreeDeviceMemoryFunction.Container
Imports
javax.annotation.*, org.lwjgl.system.*

Instances of this class may be set to the VmaDeviceMemoryCallbacks struct.

Type


void (*invoke) (
    VmaAllocator allocator,
    uint32_t memoryType,
    VkDeviceMemory memory,
    VkDeviceSize size,
    void *pUserData
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
protected
pack-priv
VmaFreeDeviceMemoryFunction(long functionPointer)

Method Summary

Modifier and TypeMethod and Description
public static VmaFreeDeviceMemoryFunction

Returns:

the new VmaFreeDeviceMemoryFunction
create
(long functionPointer)

Creates a VmaFreeDeviceMemoryFunction instance from the specified function pointer.

public static VmaFreeDeviceMemoryFunction
create(VmaFreeDeviceMemoryFunctionI instance)

Creates a VmaFreeDeviceMemoryFunction instance that delegates to the specified VmaFreeDeviceMemoryFunctionI instance.

public static VmaFreeDeviceMemoryFunction
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

VmaFreeDeviceMemoryFunctionback to summary
protected VmaFreeDeviceMemoryFunction()
VmaFreeDeviceMemoryFunctionback to summary
pack-priv VmaFreeDeviceMemoryFunction(long functionPointer)

Method Detail

createback to summary
public static VmaFreeDeviceMemoryFunction create(long functionPointer)

Creates a VmaFreeDeviceMemoryFunction instance from the specified function pointer.

Returns:VmaFreeDeviceMemoryFunction

the new VmaFreeDeviceMemoryFunction

createback to summary
public static VmaFreeDeviceMemoryFunction create(VmaFreeDeviceMemoryFunctionI instance)

Creates a VmaFreeDeviceMemoryFunction instance that delegates to the specified VmaFreeDeviceMemoryFunctionI instance.

createSafeback to summary
public static VmaFreeDeviceMemoryFunction createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.util.vma back to summary

private final Class VmaFreeDeviceMemoryFunction.Container

extends VmaFreeDeviceMemoryFunction
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final VmaFreeDeviceMemoryFunctionI

Constructor Summary

AccessConstructor and Description
pack-priv
Container(long functionPointer, VmaFreeDeviceMemoryFunctionI delegate)

Method Summary

Modifier and TypeMethod and Description
public void
invoke(long allocator, int memoryType, long memory, long size, long pUserData)

Implements org.lwjgl.util.vma.VmaFreeDeviceMemoryFunctionI.invoke.

Called before vkFreeMemory.
Inherited from org.lwjgl.util.vma.VmaFreeDeviceMemoryFunction:
createcreatecreateSafe

Field Detail

delegateback to summary
private final VmaFreeDeviceMemoryFunctionI delegate

Constructor Detail

Containerback to summary
pack-priv Container(long functionPointer, VmaFreeDeviceMemoryFunctionI delegate)

Method Detail

invokeback to summary
public void invoke(long allocator, int memoryType, long memory, long size, long pUserData)

Implements org.lwjgl.util.vma.VmaFreeDeviceMemoryFunctionI.invoke.

Doc from org.lwjgl.util.vma.VmaFreeDeviceMemoryFunctionI.invoke.

Called before vkFreeMemory.

Annotations
@Override