Package org.lwjgl.vulkan
Class KHRBindMemory2
java.lang.Object
org.lwjgl.vulkan.KHRBindMemory2
This extension provides versions of
BindBufferMemory and BindImageMemory that allow multiple bindings to be performed at once, and are extensible.
This extension also introduces IMAGE_CREATE_ALIAS_BIT_KHR, which allows “identical” images that alias the same memory to interpret the contents consistently, even across image layout changes.
Promotion to Vulkan 1.1
All functionality in this extension is included in core Vulkan 1.1, 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_bind_memory2- Extension Type
- Device extension
- Registered Extension Number
- 158
- Revision
- 1
- Deprecation State
- Promoted to Vulkan 1.1
- Contact
- Tobias Hector tobski
Other Extension Metadata
- Last Modified Date
- 2017-09-05
- IP Status
- No known IP claims.
- Contributors
- Jeff Bolz, NVIDIA
- Tobias Hector, Imagination Technologies
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intExtendsVkImageCreateFlagBits.static final StringThe extension name.static final intThe extension specification version.static final intExtendsVkStructureType.static final intExtendsVkStructureType. -
Method Summary
Modifier and TypeMethodDescriptionstatic intnvkBindBufferMemory2KHR(org.lwjgl.vulkan.VkDevice device, int bindInfoCount, long pBindInfos) Unsafe version of:BindBufferMemory2KHRstatic intnvkBindImageMemory2KHR(org.lwjgl.vulkan.VkDevice device, int bindInfoCount, long pBindInfos) Unsafe version of:BindImageMemory2KHRstatic intvkBindBufferMemory2KHR(org.lwjgl.vulkan.VkDevice device, VkBindBufferMemoryInfo.Buffer pBindInfos) SeeBindBufferMemory2.static intvkBindImageMemory2KHR(org.lwjgl.vulkan.VkDevice device, VkBindImageMemoryInfo.Buffer pBindInfos) SeeBindImageMemory2.
-
Field Details
-
VK_KHR_BIND_MEMORY_2_SPEC_VERSION
public static final int VK_KHR_BIND_MEMORY_2_SPEC_VERSIONThe extension specification version.- See Also:
-
VK_KHR_BIND_MEMORY_2_EXTENSION_NAME
The extension name.- See Also:
-
VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO_KHR
public static final int VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO_KHRExtendsVkStructureType.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO_KHR
public static final int VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO_KHRExtendsVkStructureType.Enum values:
- See Also:
-
VK_IMAGE_CREATE_ALIAS_BIT_KHR
public static final int VK_IMAGE_CREATE_ALIAS_BIT_KHRExtendsVkImageCreateFlagBits.- See Also:
-
-
Method Details
-
nvkBindBufferMemory2KHR
public static int nvkBindBufferMemory2KHR(org.lwjgl.vulkan.VkDevice device, int bindInfoCount, long pBindInfos) Unsafe version of:BindBufferMemory2KHR- Parameters:
bindInfoCount- the number of elements inpBindInfos.
-
vkBindBufferMemory2KHR
public static int vkBindBufferMemory2KHR(org.lwjgl.vulkan.VkDevice device, VkBindBufferMemoryInfo.Buffer pBindInfos) SeeBindBufferMemory2.- Parameters:
device- the logical device that owns the buffers and memory.pBindInfos- a pointer to an array ofbindInfoCountVkBindBufferMemoryInfostructures describing buffers and memory to bind.
-
nvkBindImageMemory2KHR
public static int nvkBindImageMemory2KHR(org.lwjgl.vulkan.VkDevice device, int bindInfoCount, long pBindInfos) Unsafe version of:BindImageMemory2KHR- Parameters:
bindInfoCount- the number of elements inpBindInfos.
-
vkBindImageMemory2KHR
public static int vkBindImageMemory2KHR(org.lwjgl.vulkan.VkDevice device, VkBindImageMemoryInfo.Buffer pBindInfos) SeeBindImageMemory2.- Parameters:
device- the logical device that owns the images and memory.pBindInfos- a pointer to an array ofVkBindImageMemoryInfostructures, describing images and memory to bind.
-