Package org.lwjgl.vulkan
Class EXTDeviceMemoryReport
java.lang.Object
org.lwjgl.vulkan.EXTDeviceMemoryReport
This device extension allows registration of device memory event callbacks upon device creation, so that applications or middleware can obtain detailed information about memory usage and how memory is associated with Vulkan objects. This extension exposes the actual underlying device memory usage, including allocations that are not normally visible to the application, such as memory consumed by
CreateGraphicsPipelines. It is intended primarily for use by debug tooling rather than for production applications.
- Name String
VK_EXT_device_memory_report- Extension Type
- Device extension
- Registered Extension Number
- 285
- Revision
- 2
- Extension and Version Dependencies
VK_KHR_get_physical_device_properties2or Version 1.1- Special Use
- Contact
- Yiwei Zhang zhangyiwei
Other Extension Metadata
- Last Modified Date
- 2021-01-06
- IP Status
- No known IP claims.
- Contributors
- Yiwei Zhang, Google
- Jesse Hall, Google
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intVkDeviceMemoryReportEventTypeEXT - Events that can occur on a device memory objectstatic final intVkDeviceMemoryReportEventTypeEXT - Events that can occur on a device memory objectstatic final intVkDeviceMemoryReportEventTypeEXT - Events that can occur on a device memory objectstatic final intVkDeviceMemoryReportEventTypeEXT - Events that can occur on a device memory objectstatic final intVkDeviceMemoryReportEventTypeEXT - Events that can occur on a device memory objectstatic final StringThe extension name.static final intThe extension specification version.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType. -
Method Summary
-
Field Details
-
VK_EXT_DEVICE_MEMORY_REPORT_SPEC_VERSION
public static final int VK_EXT_DEVICE_MEMORY_REPORT_SPEC_VERSIONThe extension specification version.- See Also:
-
VK_EXT_DEVICE_MEMORY_REPORT_EXTENSION_NAME
The extension name.- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_MEMORY_REPORT_FEATURES_EXT
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_MEMORY_REPORT_FEATURES_EXTExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_DEVICE_DEVICE_MEMORY_REPORT_CREATE_INFO_EXT
public static final int VK_STRUCTURE_TYPE_DEVICE_DEVICE_MEMORY_REPORT_CREATE_INFO_EXTExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_DEVICE_MEMORY_REPORT_CALLBACK_DATA_EXT
public static final int VK_STRUCTURE_TYPE_DEVICE_MEMORY_REPORT_CALLBACK_DATA_EXTExtendsVkStructureType.Enum values:
- See Also:
-
VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATE_EXT
public static final int VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATE_EXTVkDeviceMemoryReportEventTypeEXT - Events that can occur on a device memory objectDescription
DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATE_EXTspecifies this event corresponds to the allocation of an internal device memory object or aVkDeviceMemory.DEVICE_MEMORY_REPORT_EVENT_TYPE_FREE_EXTspecifies this event corresponds to the deallocation of an internally-allocated device memory object or aVkDeviceMemory.DEVICE_MEMORY_REPORT_EVENT_TYPE_IMPORT_EXTspecifies this event corresponds to the import of an external memory object.DEVICE_MEMORY_REPORT_EVENT_TYPE_UNIMPORT_EXTspecifies this event is the release of an imported external memory object.DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATION_FAILED_EXTspecifies this event corresponds to the failed allocation of an internal device memory object or aVkDeviceMemory.
See Also
- See Also:
-
VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_FREE_EXT
public static final int VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_FREE_EXTVkDeviceMemoryReportEventTypeEXT - Events that can occur on a device memory objectDescription
DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATE_EXTspecifies this event corresponds to the allocation of an internal device memory object or aVkDeviceMemory.DEVICE_MEMORY_REPORT_EVENT_TYPE_FREE_EXTspecifies this event corresponds to the deallocation of an internally-allocated device memory object or aVkDeviceMemory.DEVICE_MEMORY_REPORT_EVENT_TYPE_IMPORT_EXTspecifies this event corresponds to the import of an external memory object.DEVICE_MEMORY_REPORT_EVENT_TYPE_UNIMPORT_EXTspecifies this event is the release of an imported external memory object.DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATION_FAILED_EXTspecifies this event corresponds to the failed allocation of an internal device memory object or aVkDeviceMemory.
See Also
- See Also:
-
VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_IMPORT_EXT
public static final int VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_IMPORT_EXTVkDeviceMemoryReportEventTypeEXT - Events that can occur on a device memory objectDescription
DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATE_EXTspecifies this event corresponds to the allocation of an internal device memory object or aVkDeviceMemory.DEVICE_MEMORY_REPORT_EVENT_TYPE_FREE_EXTspecifies this event corresponds to the deallocation of an internally-allocated device memory object or aVkDeviceMemory.DEVICE_MEMORY_REPORT_EVENT_TYPE_IMPORT_EXTspecifies this event corresponds to the import of an external memory object.DEVICE_MEMORY_REPORT_EVENT_TYPE_UNIMPORT_EXTspecifies this event is the release of an imported external memory object.DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATION_FAILED_EXTspecifies this event corresponds to the failed allocation of an internal device memory object or aVkDeviceMemory.
See Also
- See Also:
-
VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_UNIMPORT_EXT
public static final int VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_UNIMPORT_EXTVkDeviceMemoryReportEventTypeEXT - Events that can occur on a device memory objectDescription
DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATE_EXTspecifies this event corresponds to the allocation of an internal device memory object or aVkDeviceMemory.DEVICE_MEMORY_REPORT_EVENT_TYPE_FREE_EXTspecifies this event corresponds to the deallocation of an internally-allocated device memory object or aVkDeviceMemory.DEVICE_MEMORY_REPORT_EVENT_TYPE_IMPORT_EXTspecifies this event corresponds to the import of an external memory object.DEVICE_MEMORY_REPORT_EVENT_TYPE_UNIMPORT_EXTspecifies this event is the release of an imported external memory object.DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATION_FAILED_EXTspecifies this event corresponds to the failed allocation of an internal device memory object or aVkDeviceMemory.
See Also
- See Also:
-
VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATION_FAILED_EXT
public static final int VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATION_FAILED_EXTVkDeviceMemoryReportEventTypeEXT - Events that can occur on a device memory objectDescription
DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATE_EXTspecifies this event corresponds to the allocation of an internal device memory object or aVkDeviceMemory.DEVICE_MEMORY_REPORT_EVENT_TYPE_FREE_EXTspecifies this event corresponds to the deallocation of an internally-allocated device memory object or aVkDeviceMemory.DEVICE_MEMORY_REPORT_EVENT_TYPE_IMPORT_EXTspecifies this event corresponds to the import of an external memory object.DEVICE_MEMORY_REPORT_EVENT_TYPE_UNIMPORT_EXTspecifies this event is the release of an imported external memory object.DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATION_FAILED_EXTspecifies this event corresponds to the failed allocation of an internal device memory object or aVkDeviceMemory.
See Also
- See Also:
-