Package org.lwjgl.vulkan
Class KHRBindMemory2
- java.lang.Object
-
- org.lwjgl.vulkan.KHRBindMemory2
-
public class KHRBindMemory2 extends java.lang.Object
This extension provides versions ofBindBufferMemory
andBindImageMemory
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
- Extension and Version Dependencies
- Requires Vulkan 1.0
- Deprecation state
- Promoted to Vulkan 1.1
- Contact
- Tobias Hector tobski
- Last Modified Date
- 2017-09-05
- IP Status
- No known IP claims.
- Interactions and External Dependencies
- Promoted to Vulkan 1.1 Core
- Contributors
- Jeff Bolz, NVIDIA
- Tobias Hector, Imagination Technologies
-
-
Field Summary
Fields Modifier and Type Field Description static int
VK_IMAGE_CREATE_ALIAS_BIT_KHR
ExtendsVkImageCreateFlagBits
.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
VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO_KHRExtendsVkStructureType
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
nvkBindBufferMemory2KHR(VkDevice device, int bindInfoCount, long pBindInfos)
Unsafe version of:BindBufferMemory2KHR
static int
nvkBindImageMemory2KHR(VkDevice device, int bindInfoCount, long pBindInfos)
Unsafe version of:BindImageMemory2KHR
static int
vkBindBufferMemory2KHR(VkDevice device, VkBindBufferMemoryInfo.Buffer pBindInfos)
SeeBindBufferMemory2
.static int
vkBindImageMemory2KHR(VkDevice device, VkBindImageMemoryInfo.Buffer pBindInfos)
SeeBindImageMemory2
.
-
-
-
Field Detail
-
VK_KHR_BIND_MEMORY_2_SPEC_VERSION
The extension specification version.
-
VK_KHR_BIND_MEMORY_2_EXTENSION_NAME
The extension name.
-
VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO_KHR, VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO_KHR
ExtendsVkStructureType
.Enum values:
-
VK_IMAGE_CREATE_ALIAS_BIT_KHR
ExtendsVkImageCreateFlagBits
.
-
-
Method Detail
-
nvkBindBufferMemory2KHR
public static int nvkBindBufferMemory2KHR(VkDevice device, int bindInfoCount, long pBindInfos)
Unsafe version of:BindBufferMemory2KHR
- Parameters:
bindInfoCount
- the number of elements inpBindInfos
.
-
vkBindBufferMemory2KHR
public static int vkBindBufferMemory2KHR(VkDevice device, VkBindBufferMemoryInfo.Buffer pBindInfos)
SeeBindBufferMemory2
.- Parameters:
device
- the logical device that owns the buffers and memory.pBindInfos
- a pointer to an array of structures of typeVkBindBufferMemoryInfo
, describing buffers and memory to bind.
-
nvkBindImageMemory2KHR
public static int nvkBindImageMemory2KHR(VkDevice device, int bindInfoCount, long pBindInfos)
Unsafe version of:BindImageMemory2KHR
- Parameters:
bindInfoCount
- the number of elements inpBindInfos
.
-
vkBindImageMemory2KHR
public static int vkBindImageMemory2KHR(VkDevice device, VkBindImageMemoryInfo.Buffer pBindInfos)
SeeBindImageMemory2
.- Parameters:
device
- the logical device that owns the images and memory.pBindInfos
- a pointer to an array of structures of typeVkBindImageMemoryInfo
, describing images and memory to bind.
-
-