org.lwjgl.vulkan.EXTDeviceMemoryReport Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl-vulkan Show documentation
Show all versions of lwjgl-vulkan Show documentation
A new generation graphics and compute API that provides high-efficiency, cross-platform access to modern GPUs used in a wide variety of devices from PCs and consoles to mobile phones and embedded platforms.
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.vulkan;
/**
* 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 {@link VK10#vkCreateGraphicsPipelines CreateGraphicsPipelines}. It is intended primarily for use by debug tooling rather than for production applications.
*
* VK_EXT_device_memory_report
*
*
* - Name String
* - {@code VK_EXT_device_memory_report}
* - Extension Type
* - Device extension
* - Registered Extension Number
* - 285
* - Revision
* - 2
* - Extension and Version Dependencies
*
* - Requires Vulkan 1.0
* - Requires {@link KHRGetPhysicalDeviceProperties2 VK_KHR_get_physical_device_properties2}
*
* - Special Use
*
* - Developer tools
*
* - 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
*
*
*/
public final class EXTDeviceMemoryReport {
/** The extension specification version. */
public static final int VK_EXT_DEVICE_MEMORY_REPORT_SPEC_VERSION = 2;
/** The extension name. */
public static final String VK_EXT_DEVICE_MEMORY_REPORT_EXTENSION_NAME = "VK_EXT_device_memory_report";
/**
* Extends {@code VkStructureType}.
*
* Enum values:
*
*
* - {@link #VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_MEMORY_REPORT_FEATURES_EXT STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_MEMORY_REPORT_FEATURES_EXT}
* - {@link #VK_STRUCTURE_TYPE_DEVICE_DEVICE_MEMORY_REPORT_CREATE_INFO_EXT STRUCTURE_TYPE_DEVICE_DEVICE_MEMORY_REPORT_CREATE_INFO_EXT}
* - {@link #VK_STRUCTURE_TYPE_DEVICE_MEMORY_REPORT_CALLBACK_DATA_EXT STRUCTURE_TYPE_DEVICE_MEMORY_REPORT_CALLBACK_DATA_EXT}
*
*/
public static final int
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_MEMORY_REPORT_FEATURES_EXT = 1000284000,
VK_STRUCTURE_TYPE_DEVICE_DEVICE_MEMORY_REPORT_CREATE_INFO_EXT = 1000284001,
VK_STRUCTURE_TYPE_DEVICE_MEMORY_REPORT_CALLBACK_DATA_EXT = 1000284002;
/**
* VkDeviceMemoryReportEventTypeEXT - Events that can occur on a device memory object
*
* Description
*
*
* - {@link #VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATE_EXT DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATE_EXT} specifies this event corresponds to the allocation of an internal device memory object or a {@code VkDeviceMemory}.
* - {@link #VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_FREE_EXT DEVICE_MEMORY_REPORT_EVENT_TYPE_FREE_EXT} specifies this event corresponds to the deallocation of an internally-allocated device memory object or a {@code VkDeviceMemory}.
* - {@link #VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_IMPORT_EXT DEVICE_MEMORY_REPORT_EVENT_TYPE_IMPORT_EXT} specifies this event corresponds to the import of an external memory object.
* - {@link #VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_UNIMPORT_EXT DEVICE_MEMORY_REPORT_EVENT_TYPE_UNIMPORT_EXT} specifies this event is the release of an imported external memory object.
* - {@link #VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATION_FAILED_EXT DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATION_FAILED_EXT} specifies this event corresponds to the failed allocation of an internal device memory object or a {@code VkDeviceMemory}.
*
*
* See Also
*
* {@link VkDeviceMemoryReportCallbackDataEXT}
*/
public static final int
VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATE_EXT = 0,
VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_FREE_EXT = 1,
VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_IMPORT_EXT = 2,
VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_UNIMPORT_EXT = 3,
VK_DEVICE_MEMORY_REPORT_EVENT_TYPE_ALLOCATION_FAILED_EXT = 4;
private EXTDeviceMemoryReport() {}
}