Package org.lwjgl.vulkan
Class EXTBufferDeviceAddress
- java.lang.Object
-
- org.lwjgl.vulkan.EXTBufferDeviceAddress
-
public class EXTBufferDeviceAddress extends java.lang.ObjectThis extension allows the application to query a 64-bit buffer device address value for a buffer, which can be used to access the buffer memory via thePhysicalStorageBufferEXTstorage class in theGL_EXT_buffer_referenceGLSL extension andSPV_EXT_physical_storage_bufferSPIR-V extension.It also allows buffer device addresses to be provided by a trace replay tool, so that it matches the address used when the trace was captured.
VK_EXT_buffer_device_address
- Name String
VK_EXT_buffer_device_address- Extension Type
- Device extension
- Registered Extension Number
- 245
- Revision
- 2
- Extension and Version Dependencies
- Requires Vulkan 1.0
- Requires
VK_KHR_get_physical_device_properties2
- Deprecation state
- Deprecated by
VK_KHR_buffer_device_addressextension- Which in turn was promoted to Vulkan 1.2
- Deprecated by
- Contact
- Jeff Bolz jeffbolznv
Other Extension Metadata
- Last Modified Date
- 2019-01-06
- IP Status
- No known IP claims.
- Interactions and External Dependencies
- This extension requires
SPV_EXT_physical_storage_buffer - This extension provides API support for
GLSL_EXT_buffer_referenceandGLSL_EXT_buffer_reference_uvec2
- This extension requires
- Contributors
- Jeff Bolz, NVIDIA
- Neil Henning, AMD
- Tobias Hector, AMD
- Jason Ekstrand, Intel
- Baldur Karlsson, Valve
-
-
Field Summary
Fields Modifier and Type Field Description static intVK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_EXTExtendsVkBufferCreateFlagBits.static intVK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT_EXTExtendsVkBufferUsageFlagBits.static intVK_ERROR_INVALID_DEVICE_ADDRESS_EXTExtendsVkResult.static java.lang.StringVK_EXT_BUFFER_DEVICE_ADDRESS_EXTENSION_NAMEThe extension name.static intVK_EXT_BUFFER_DEVICE_ADDRESS_SPEC_VERSIONThe extension specification version.static intVK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT
VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO_EXT
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_ADDRESS_FEATURES_EXT
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_EXTExtendsVkStructureType.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static longnvkGetBufferDeviceAddressEXT(org.lwjgl.vulkan.VkDevice device, long pInfo)Unsafe version of:GetBufferDeviceAddressEXTstatic longvkGetBufferDeviceAddressEXT(org.lwjgl.vulkan.VkDevice device, VkBufferDeviceAddressInfo pInfo)
-
-
-
Field Detail
-
VK_EXT_BUFFER_DEVICE_ADDRESS_SPEC_VERSION
The extension specification version.
-
VK_EXT_BUFFER_DEVICE_ADDRESS_EXTENSION_NAME
The extension name.
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_EXT, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_ADDRESS_FEATURES_EXT, VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO_EXT, VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT
-
VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT_EXT
ExtendsVkBufferUsageFlagBits.
-
VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_EXT
ExtendsVkBufferCreateFlagBits.
-
VK_ERROR_INVALID_DEVICE_ADDRESS_EXT
ExtendsVkResult.
-
-
Method Detail
-
nvkGetBufferDeviceAddressEXT
public static long nvkGetBufferDeviceAddressEXT(org.lwjgl.vulkan.VkDevice device, long pInfo)Unsafe version of:GetBufferDeviceAddressEXT
-
vkGetBufferDeviceAddressEXT
public static long vkGetBufferDeviceAddressEXT(org.lwjgl.vulkan.VkDevice device, VkBufferDeviceAddressInfo pInfo)- Parameters:
device- the logical device that the buffer was created on.pInfo- a pointer to aVkBufferDeviceAddressInfostructure specifying the buffer to retrieve an address for.
-
-