public class KHRBindMemory2
extends java.lang.Object
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.
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.
VK_KHR_bind_memory2| Modifier and Type | Field and Description |
|---|---|
static int |
VK_IMAGE_CREATE_ALIAS_BIT_KHR
Extends
VkImageCreateFlagBits. |
static java.lang.String |
VK_KHR_BIND_MEMORY_2_EXTENSION_NAME
The extension name.
|
static int |
VK_KHR_BIND_MEMORY_2_SPEC_VERSION
The extension specification version.
|
static int |
VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO_KHR
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO_KHR
Extends
VkStructureType. |
| Modifier and Type | Method and Description |
|---|---|
static int |
nvkBindBufferMemory2KHR(org.lwjgl.vulkan.VkDevice device,
int bindInfoCount,
long pBindInfos)
Unsafe version of:
BindBufferMemory2KHR |
static int |
nvkBindImageMemory2KHR(org.lwjgl.vulkan.VkDevice device,
int bindInfoCount,
long pBindInfos)
Unsafe version of:
BindImageMemory2KHR |
static int |
vkBindBufferMemory2KHR(org.lwjgl.vulkan.VkDevice device,
VkBindBufferMemoryInfo.Buffer pBindInfos)
See
BindBufferMemory2. |
static int |
vkBindImageMemory2KHR(org.lwjgl.vulkan.VkDevice device,
VkBindImageMemoryInfo.Buffer pBindInfos)
See
BindImageMemory2. |
public static final int VK_KHR_BIND_MEMORY_2_SPEC_VERSION
public static final java.lang.String VK_KHR_BIND_MEMORY_2_EXTENSION_NAME
public static final int VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO_KHR
VkStructureType.
public static final int VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO_KHR
VkStructureType.
public static final int VK_IMAGE_CREATE_ALIAS_BIT_KHR
VkImageCreateFlagBits.public static int nvkBindBufferMemory2KHR(org.lwjgl.vulkan.VkDevice device,
int bindInfoCount,
long pBindInfos)
BindBufferMemory2KHRbindInfoCount - the number of elements in pBindInfos.public static int vkBindBufferMemory2KHR(org.lwjgl.vulkan.VkDevice device,
VkBindBufferMemoryInfo.Buffer pBindInfos)
BindBufferMemory2.device - the logical device that owns the buffers and memory.pBindInfos - a pointer to an array of bindInfoCount VkBindBufferMemoryInfo structures describing buffers and memory to bind.public static int nvkBindImageMemory2KHR(org.lwjgl.vulkan.VkDevice device,
int bindInfoCount,
long pBindInfos)
BindImageMemory2KHRbindInfoCount - the number of elements in pBindInfos.public static int vkBindImageMemory2KHR(org.lwjgl.vulkan.VkDevice device,
VkBindImageMemoryInfo.Buffer pBindInfos)
BindImageMemory2.device - the logical device that owns the images and memory.pBindInfos - a pointer to an array of VkBindImageMemoryInfo structures, describing images and memory to bind.Copyright LWJGL. All Rights Reserved. License terms.