Package org.lwjgl.vulkan
Class VkInternalAllocationNotification
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.vulkan.VkInternalAllocationNotification
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.CallbackI,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer,VkInternalAllocationNotificationI
public abstract class VkInternalAllocationNotification
extends org.lwjgl.system.Callback
implements VkInternalAllocationNotificationI
Application-defined memory allocation notification function.
C Specification
The type of pfnInternalAllocation is:
typedef void (VKAPI_PTR *PFN_vkInternalAllocationNotification)(
void* pUserData,
size_t size,
VkInternalAllocationType allocationType,
VkSystemAllocationScope allocationScope);
Description
This is a purely informational callback.
See Also
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.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.VkInternalAllocationNotificationI
CIF -
Method Summary
Modifier and TypeMethodDescriptioncreate(long functionPointer) Creates aVkInternalAllocationNotificationinstance from the specified function pointer.create(VkInternalAllocationNotificationI instance) Creates aVkInternalAllocationNotificationinstance that delegates to the specifiedVkInternalAllocationNotificationIinstance.static @Nullable VkInternalAllocationNotificationcreateSafe(long functionPointer) Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toStringMethods inherited from interface org.lwjgl.system.CallbackI
addressMethods inherited from interface org.lwjgl.system.NativeResource
closeMethods inherited from interface org.lwjgl.vulkan.VkInternalAllocationNotificationI
callback, getCallInterface, invoke
-
Method Details
-
create
Creates aVkInternalAllocationNotificationinstance from the specified function pointer.- Returns:
- the new
VkInternalAllocationNotification
-
createSafe
-
create
Creates aVkInternalAllocationNotificationinstance that delegates to the specifiedVkInternalAllocationNotificationIinstance.
-