Class VkAllocationFunction
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.vulkan.VkAllocationFunction
- All Implemented Interfaces:
AutoCloseable, CallbackI, NativeResource, Pointer, VkAllocationFunctionI
Callback function:
PFN_vkAllocationFunction-
Nested Class Summary
Nested classes/interfaces inherited from class Callback
Callback.DescriptorNested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
Fields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZEFields inherited from interface VkAllocationFunctionI
DESCRIPTOR -
Method Summary
Modifier and TypeMethodDescriptionstatic VkAllocationFunctioncreate(long functionPointer) Creates aVkAllocationFunctioninstance from the specified function pointer.static VkAllocationFunctioncreate(VkAllocationFunctionI instance) Creates aVkAllocationFunctioninstance that delegates to the specifiedVkAllocationFunctionIinstance.static @Nullable VkAllocationFunctioncreateSafe(long functionPointer) Methods inherited from interface NativeResource
closeMethods inherited from interface VkAllocationFunctionI
callback, getDescriptor, invoke
-
Method Details
-
create
Creates aVkAllocationFunctioninstance from the specified function pointer.- Returns:
- the new
VkAllocationFunction
-
createSafe
-
create
Creates aVkAllocationFunctioninstance that delegates to the specifiedVkAllocationFunctionIinstance.
-