Top Description Fields Constructors Methods
org.lwjgl.vulkan

public Class EXTDescriptorBuffer

extends Object
Class Inheritance
Imports
java.nio.*, org.lwjgl.system.*

This extension introduces new commands to put shader-accessible descriptors directly in memory, making the management of descriptor data more explicit.
VK_EXT_descriptor_buffer
Name String
VK_EXT_descriptor_buffer
Extension Type
Device extension
Registered Extension Number
317
Revision
1
Extension and Version Dependencies
VK_KHR_get_physical_device_properties2 and VK_KHR_buffer_device_address and VK_KHR_synchronization2 and VK_EXT_descriptor_indexing
Contact
Extension Proposal
VK_EXT_descriptor_buffer
Other Extension Metadata
Last Modified Date
2021-06-07
IP Status
No known IP claims.
Contributors
  • Tobias Hector, AMD
  • Stu Smith, AMD
  • Maciej Jesionowski, AMD
  • Boris Zanin, AMD
  • Hans-Kristian Arntzen, Valve
  • Connor Abbott, Valve
  • Baldur Karlsson, Valve
  • Mike Blumenkrantz, Valve
  • Graeme Leese, Broadcom
  • Jan-Harald Fredriksen, Arm
  • Rodrigo Locatti, NVIDIA
  • Jeff Bolz, NVIDIA
  • Piers Daniell, NVIDIA
  • Jeff Leger, QUALCOMM
  • Lionel Landwerlin, Intel
  • Slawomir Grajewski, Intel

Field Summary

Modifier and TypeField and Description
public static final int
VK_ACCELERATION_STRUCTURE_CREATE_DESCRIPTOR_BUFFER_CAPTURE_REPLAY_BIT_EXT

Extends VkAccelerationStructureCreateFlagBitsKHR.

public static final long
public static final int
public static final int
public static final int
public static final int
public static final int
VK_DESCRIPTOR_SET_LAYOUT_CREATE_DESCRIPTOR_BUFFER_BIT_EXT

Extends VkDescriptorSetLayoutCreateFlagBits.

public static final int
VK_DESCRIPTOR_SET_LAYOUT_CREATE_EMBEDDED_IMMUTABLE_SAMPLERS_BIT_EXT

Extends VkDescriptorSetLayoutCreateFlagBits.

public static final String
public static final int
VK_EXT_DESCRIPTOR_BUFFER_SPEC_VERSION

The extension specification version.

public static final int
public static final int
public static final int
VK_PIPELINE_CREATE_DESCRIPTOR_BUFFER_BIT_EXT

Extends VkPipelineCreateFlagBits.

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static void
nvkCmdBindDescriptorBuffersEXT(VkCommandBuffer commandBuffer, int
the number of elements in the pBindingInfos array.
bufferCount
,
long pBindingInfos)

Unsafe version of: CmdBindDescriptorBuffersEXT

public static void
nvkCmdSetDescriptorBufferOffsetsEXT(VkCommandBuffer commandBuffer, int pipelineBindPoint, long layout, int firstSet, int
the number of elements in the pBufferIndices and pOffsets arrays.
setCount
,
long pBufferIndices, long pOffsets)

Unsafe version of: CmdSetDescriptorBufferOffsetsEXT

public static int
public static int
public static void
nvkGetDescriptorEXT(VkDevice device, long pDescriptorInfo, long
the amount of the descriptor data to get in bytes.
dataSize
,
long pDescriptor)

Unsafe version of: GetDescriptorEXT

public static void
nvkGetDescriptorSetLayoutBindingOffsetEXT(VkDevice device, long layout, int binding, long pOffset)

Unsafe version of: GetDescriptorSetLayoutBindingOffsetEXT

public static void
nvkGetDescriptorSetLayoutSizeEXT(VkDevice device, long layout, long pLayoutSizeInBytes)

Unsafe version of: GetDescriptorSetLayoutSizeEXT

public static int
public static int
public static int
public static void
vkCmdBindDescriptorBufferEmbeddedSamplersEXT(VkCommandBuffer
the command buffer that the embedded immutable samplers will be bound to.
commandBuffer
,
int
a VkPipelineBindPoint indicating the type of the pipeline that will use the embedded immutable samplers.
pipelineBindPoint
,
long
a VkPipelineLayout object used to program the bindings.
layout
,
int
the number of the set to be bound.
set
)

Setting embedded immutable samplers offsets in a command buffer.

public static void
vkCmdBindDescriptorBuffersEXT(VkCommandBuffer
the command buffer that the descriptor buffers will be bound to.
commandBuffer
,
VkDescriptorBufferBindingInfoEXT.Buffer
a pointer to an array of VkDescriptorBufferBindingInfoEXT structures.
pBindingInfos
)

Binding descriptor buffers to a command buffer.

public static void
vkCmdSetDescriptorBufferOffsetsEXT(VkCommandBuffer
the command buffer in which the descriptor buffer offsets will be set.
commandBuffer
,
int
a VkPipelineBindPoint indicating the type of the pipeline that will use the descriptors.
pipelineBindPoint
,
long
a VkPipelineLayout object used to program the bindings.
layout
,
int
the number of the first set to be bound.
firstSet
,
IntBuffer
a pointer to an array of indices into the descriptor buffer binding points set by CmdBindDescriptorBuffersEXT.
pBufferIndices
,
LongBuffer
a pointer to an array of VkDeviceSize offsets to apply to the bound descriptor buffers.
pOffsets
)

Setting descriptor buffer offsets in a command buffer.

public static void
vkCmdSetDescriptorBufferOffsetsEXT(VkCommandBuffer commandBuffer, int pipelineBindPoint, long layout, int firstSet, int[] pBufferIndices, long[] pOffsets)

Array version of: CmdSetDescriptorBufferOffsetsEXT

public static int
vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT(VkDevice
the logical device that gets the data.
device
,
VkAccelerationStructureCaptureDescriptorDataInfoEXT
a pointer to a VkAccelerationStructureCaptureDescriptorDataInfoEXT structure specifying the acceleration structure.
pInfo
,
ByteBuffer
a pointer to a user-allocated buffer where the data will be written.
pData
)

Get acceleration structure opaque capture descriptor data.

public static int
vkGetBufferOpaqueCaptureDescriptorDataEXT(VkDevice
the logical device that gets the data.
device
,
VkBufferCaptureDescriptorDataInfoEXT
a pointer to a VkBufferCaptureDescriptorDataInfoEXT structure specifying the buffer.
pInfo
,
ByteBuffer
a pointer to a user-allocated buffer where the data will be written.
pData
)

Get buffer opaque capture descriptor data.

public static void
vkGetDescriptorEXT(VkDevice
the logical device that gets the descriptor.
device
,
VkDescriptorGetInfoEXT
a pointer to a VkDescriptorGetInfoEXT structure specifying the parameters of the descriptor to get.
pDescriptorInfo
,
ByteBuffer
a pointer to a user-allocated buffer where the descriptor will be written.
pDescriptor
)

To get a descriptor to place in a buffer.

public static void
vkGetDescriptorSetLayoutBindingOffsetEXT(VkDevice
the logical device that gets the offset.
device
,
long
the descriptor set layout being queried.
layout
,
int
the binding number being queried.
binding
,
LongBuffer
a pointer to VkDeviceSize where the byte offset of the binding will be written.
pOffset
)

Get the offset of a binding within a descriptor set layout.

public static void
vkGetDescriptorSetLayoutBindingOffsetEXT(VkDevice device, long layout, int binding, long[] pOffset)

Array version of: GetDescriptorSetLayoutBindingOffsetEXT

public static void
vkGetDescriptorSetLayoutSizeEXT(VkDevice
the logical device that gets the size.
device
,
long
the descriptor set layout being queried.
layout
,
LongBuffer
a pointer to VkDeviceSize where the size in bytes will be written.
pLayoutSizeInBytes
)

Get the size of a descriptor set layout in memory.

public static void
vkGetDescriptorSetLayoutSizeEXT(VkDevice device, long layout, long[] pLayoutSizeInBytes)

Array version of: GetDescriptorSetLayoutSizeEXT

public static int
vkGetImageOpaqueCaptureDescriptorDataEXT(VkDevice
the logical device that gets the data.
device
,
VkImageCaptureDescriptorDataInfoEXT
a pointer to a VkImageCaptureDescriptorDataInfoEXT structure specifying the image.
pInfo
,
ByteBuffer
a pointer to a user-allocated buffer where the data will be written.
pData
)

Get image opaque capture descriptor data.

public static int
vkGetImageViewOpaqueCaptureDescriptorDataEXT(VkDevice
the logical device that gets the data.
device
,
VkImageViewCaptureDescriptorDataInfoEXT
a pointer to a VkImageViewCaptureDescriptorDataInfoEXT structure specifying the image view.
pInfo
,
ByteBuffer
a pointer to a user-allocated buffer where the data will be written.
pData
)

Get image view opaque capture descriptor data.

public static int
vkGetSamplerOpaqueCaptureDescriptorDataEXT(VkDevice
the logical device that gets the data.
device
,
VkSamplerCaptureDescriptorDataInfoEXT
a pointer to a VkSamplerCaptureDescriptorDataInfoEXT structure specifying the sampler.
pInfo
,
ByteBuffer
a pointer to a user-allocated buffer where the data will be written.
pData
)

Get sampler opaque capture descriptor data.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait