Package org.lwjgl.vulkan
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 interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZEFields inherited from interface org.lwjgl.vulkan.VkAllocationFunctionI
CIF -
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 class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
closeMethods inherited from interface org.lwjgl.vulkan.VkAllocationFunctionI
callback, getCallInterface, invoke
-
Method Details
-
create
Creates aVkAllocationFunctioninstance from the specified function pointer.- Returns:
- the new
VkAllocationFunction
-
createSafe
-
create
Creates aVkAllocationFunctioninstance that delegates to the specifiedVkAllocationFunctionIinstance.
-