Top Description Fields Constructors Methods
org.lwjgl.vulkan

public Class KHRBindMemory2

extends Object
Class Inheritance
Imports
org.lwjgl.system.*

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.

VK_KHR_bind_memory2
Name String
VK_KHR_bind_memory2
Extension Type
Device extension
Registered Extension Number
158
Revision
1
Deprecation state
Contact
Other Extension Metadata
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

Modifier and TypeField and Description
public static final int
VK_IMAGE_CREATE_ALIAS_BIT_KHR

Extends VkImageCreateFlagBits.

public static final String
public static final int
VK_KHR_BIND_MEMORY_2_SPEC_VERSION

The extension specification version.

public static final int
public static final int

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static int
nvkBindBufferMemory2KHR(VkDevice device, int
the number of elements in pBindInfos.
bindInfoCount
,
long pBindInfos)

Unsafe version of: BindBufferMemory2KHR

public static int
nvkBindImageMemory2KHR(VkDevice device, int
the number of elements in pBindInfos.
bindInfoCount
,
long pBindInfos)

Unsafe version of: BindImageMemory2KHR

public static int
vkBindBufferMemory2KHR(VkDevice
the logical device that owns the buffers and memory.
device
,
VkBindBufferMemoryInfo.Buffer
a pointer to an array of bindInfoCount VkBindBufferMemoryInfo structures describing buffers and memory to bind.
pBindInfos
)

See BindBufferMemory2.

public static int
vkBindImageMemory2KHR(VkDevice
the logical device that owns the images and memory.
device
,
VkBindImageMemoryInfo.Buffer
a pointer to an array of VkBindImageMemoryInfo structures, describing images and memory to bind.
pBindInfos
)

See BindImageMemory2.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

VK_IMAGE_CREATE_ALIAS_BIT_KHRback to summary
public static final int VK_IMAGE_CREATE_ALIAS_BIT_KHR

Extends VkImageCreateFlagBits.

VK_KHR_BIND_MEMORY_2_EXTENSION_NAMEback to summary
public static final String VK_KHR_BIND_MEMORY_2_EXTENSION_NAME

The extension name.

VK_KHR_BIND_MEMORY_2_SPEC_VERSIONback to summary
public static final int VK_KHR_BIND_MEMORY_2_SPEC_VERSION

The extension specification version.

VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO_KHRback to summary
public static final int VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO_KHR

Extends VkStructureType.

Enum values:
VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO_KHRback to summary
public static final int VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO_KHR

Extends VkStructureType.

Enum values:

Constructor Detail

KHRBindMemory2back to summary
protected KHRBindMemory2()

Method Detail

nvkBindBufferMemory2KHRback to summary
public static int nvkBindBufferMemory2KHR(VkDevice device, int bindInfoCount, long pBindInfos)

Unsafe version of: BindBufferMemory2KHR

Parameters
bindInfoCount:int

the number of elements in pBindInfos.

nvkBindImageMemory2KHRback to summary
public static int nvkBindImageMemory2KHR(VkDevice device, int bindInfoCount, long pBindInfos)

Unsafe version of: BindImageMemory2KHR

Parameters
bindInfoCount:int

the number of elements in pBindInfos.

vkBindBufferMemory2KHRback to summary
public static int vkBindBufferMemory2KHR(VkDevice device, VkBindBufferMemoryInfo.Buffer pBindInfos)

See BindBufferMemory2.

Parameters
device:VkDevice

the logical device that owns the buffers and memory.

pBindInfos:VkBindBufferMemoryInfo.Buffer

a pointer to an array of bindInfoCount VkBindBufferMemoryInfo structures describing buffers and memory to bind.

Annotations
@NativeType:VkResult
vkBindImageMemory2KHRback to summary
public static int vkBindImageMemory2KHR(VkDevice device, VkBindImageMemoryInfo.Buffer pBindInfos)

See BindImageMemory2.

Parameters
device:VkDevice

the logical device that owns the images and memory.

pBindInfos:VkBindImageMemoryInfo.Buffer

a pointer to an array of VkBindImageMemoryInfo structures, describing images and memory to bind.

Annotations
@NativeType:VkResult