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_SIZE
Fields inherited from interface org.lwjgl.vulkan.VkAllocationFunctionI
CIF
-
Method Summary
Modifier and TypeMethodDescriptionstatic VkAllocationFunction
create
(long functionPointer) Creates aVkAllocationFunction
instance from the specified function pointer.static VkAllocationFunction
create
(VkAllocationFunctionI instance) Creates aVkAllocationFunction
instance that delegates to the specifiedVkAllocationFunctionI
instance.static @Nullable VkAllocationFunction
createSafe
(long functionPointer) Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close
Methods inherited from interface org.lwjgl.vulkan.VkAllocationFunctionI
callback, getCallInterface, invoke
-
Method Details
-
create
Creates aVkAllocationFunction
instance from the specified function pointer.- Returns:
- the new
VkAllocationFunction
-
createSafe
-
create
Creates aVkAllocationFunction
instance that delegates to the specifiedVkAllocationFunctionI
instance.
-