Package org.lwjgl.vulkan
Class KHRMapMemory2
java.lang.Object
org.lwjgl.vulkan.KHRMapMemory2
This extension provides extensible versions of the Vulkan memory map and unmap commands. The new commands are functionally identical to the core commands, except that their parameters are specified using extensible structures that can be used to pass extension-specific information.
Promotion to Vulkan 1.4
Functionality in this extension is included in core Vulkan 1.4 with the KHR suffix omitted. The original type, enum and command names are still available as aliases of the core functionality.
- Name String
VK_KHR_map_memory2- Extension Type
- Device extension
- Registered Extension Number
- 272
- Revision
- 1
- Deprecation State
- Promoted to Vulkan 1.4
- Contact
- Faith Ekstrand gfxstrand
- Extension Proposal
- VK_KHR_map_memory2
Other Extension Metadata
- Last Modified Date
- 2023-03-14
- Interactions and External Dependencies
- None
- Contributors
- Faith Ekstrand, Collabora
- Tobias Hector, AMD
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe extension name.static final intThe extension specification version.static final intExtendsVkStructureType.static final intExtendsVkStructureType. -
Method Summary
Modifier and TypeMethodDescriptionstatic intnvkMapMemory2KHR(org.lwjgl.vulkan.VkDevice device, long pMemoryMapInfo, long ppData) Unsafe version of:MapMemory2KHRstatic intnvkUnmapMemory2KHR(org.lwjgl.vulkan.VkDevice device, long pMemoryUnmapInfo) Unsafe version of:UnmapMemory2KHRstatic intvkMapMemory2KHR(org.lwjgl.vulkan.VkDevice device, VkMemoryMapInfo pMemoryMapInfo, org.lwjgl.PointerBuffer ppData) SeeMapMemory2.static intvkUnmapMemory2KHR(org.lwjgl.vulkan.VkDevice device, VkMemoryUnmapInfo pMemoryUnmapInfo) SeeUnmapMemory2.
-
Field Details
-
VK_KHR_MAP_MEMORY_2_SPEC_VERSION
public static final int VK_KHR_MAP_MEMORY_2_SPEC_VERSIONThe extension specification version.- See Also:
-
VK_KHR_MAP_MEMORY_2_EXTENSION_NAME
The extension name.- See Also:
-
VK_STRUCTURE_TYPE_MEMORY_MAP_INFO_KHR
public static final int VK_STRUCTURE_TYPE_MEMORY_MAP_INFO_KHRExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_MEMORY_UNMAP_INFO_KHR
public static final int VK_STRUCTURE_TYPE_MEMORY_UNMAP_INFO_KHRExtendsVkStructureType.Enum values:
- See Also:
-
-
Method Details
-
nvkMapMemory2KHR
public static int nvkMapMemory2KHR(org.lwjgl.vulkan.VkDevice device, long pMemoryMapInfo, long ppData) Unsafe version of:MapMemory2KHR -
vkMapMemory2KHR
public static int vkMapMemory2KHR(org.lwjgl.vulkan.VkDevice device, VkMemoryMapInfo pMemoryMapInfo, org.lwjgl.PointerBuffer ppData) SeeMapMemory2.- Parameters:
device- the logical device that owns the memory.pMemoryMapInfo- a pointer to aVkMemoryMapInfostructure describing parameters of the map.ppData- a pointer to avoid *variable in which is returned a host-accessible pointer to the beginning of the mapped range. This pointer minusVkMemoryMapInfo::offsetmust be aligned to at leastVkPhysicalDeviceLimits::minMemoryMapAlignment.
-
nvkUnmapMemory2KHR
public static int nvkUnmapMemory2KHR(org.lwjgl.vulkan.VkDevice device, long pMemoryUnmapInfo) Unsafe version of:UnmapMemory2KHR -
vkUnmapMemory2KHR
public static int vkUnmapMemory2KHR(org.lwjgl.vulkan.VkDevice device, VkMemoryUnmapInfo pMemoryUnmapInfo) SeeUnmapMemory2.- Parameters:
device- the logical device that owns the memory.pMemoryUnmapInfo- a pointer to aVkMemoryUnmapInfostructure describing parameters of the unmap.
-