VkDescriptorSet with a pointer to a user defined data structure describing the new descriptors.
CmdPushDescriptorSetWithTemplateKHR is included as an interaction with VK_KHR_push_descriptor. If Vulkan 1.1 and VK_KHR_push_descriptor are supported, this is included by VK_KHR_push_descriptor.
The base 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_descriptor_update_templateVK_KHR_push_descriptor| Modifier and Type | Field and Description |
|---|---|
| public static final int | VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_KHR_EXT
Extends |
| public static final int | VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET_KHR
Extends |
| public static final int | VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR
Extends |
| public static final String | VK_KHR_DESCRIPTOR_UPDATE_TEMPLATE_EXTENSION_NAME
The extension name. |
| public static final int | VK_KHR_DESCRIPTOR_UPDATE_TEMPLATE_SPEC_VERSION
The extension specification version. |
| public static final int | VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO_KHR
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | nvkCreateDescriptorUpdateTemplateKHR(VkDevice device, long pCreateInfo, long pAllocator, long pDescriptorUpdateTemplate)
Unsafe version of: |
| public static void | nvkDestroyDescriptorUpdateTemplateKHR(VkDevice device, long descriptorUpdateTemplate, long pAllocator)
Unsafe version of: |
| public static void | vkCmdPushDescriptorSetWithTemplateKHR(VkCommandBuffer
the command buffer that the descriptors will be recorded in. commandBuffer, long a descriptor update template defining how to interpret the descriptor information in descriptorUpdateTemplate, long pData.a layout, int VkPipelineLayout object used to program the bindings. It must be compatible with the layout used to create the descriptorUpdateTemplate handle.the set number of the descriptor set in the pipeline layout that will be updated. This must be the same number used to create the set, long descriptorUpdateTemplate handle.a pointer to memory containing descriptors for the templated update. pData)Pushes descriptor updates into a command buffer using a descriptor update template. |
| public static int | vkCreateDescriptorUpdateTemplateKHR(VkDevice
the logical device that creates the descriptor update template. device, VkDescriptorUpdateTemplateCreateInfo a pointer to a pCreateInfo, VkAllocationCallbacks VkDescriptorUpdateTemplateCreateInfo structure specifying the set of descriptors to update with a single call to CmdPushDescriptorSetWithTemplateKHR or UpdateDescriptorSetWithTemplate.controls host memory allocation as described in the Memory Allocation chapter. pAllocator, LongBuffer a pointer to a pDescriptorUpdateTemplate)VkDescriptorUpdateTemplate handle in which the resulting descriptor update template object is returned. |
| public static int | vkCreateDescriptorUpdateTemplateKHR(VkDevice device, VkDescriptorUpdateTemplateCreateInfo pCreateInfo, VkAllocationCallbacks pAllocator, long[] pDescriptorUpdateTemplate)
Array version of: |
| public static void | vkDestroyDescriptorUpdateTemplateKHR(VkDevice
the logical device that has been used to create the descriptor update template device, long the descriptor update template to destroy. descriptorUpdateTemplate, VkAllocationCallbacks controls host memory allocation as described in the Memory Allocation chapter. pAllocator) |
| public static void | vkUpdateDescriptorSetWithTemplateKHR(VkDevice
the logical device that updates the descriptor set. device, long the descriptor set to update descriptorSet, long a descriptorUpdateTemplate, long VkDescriptorUpdateTemplate object specifying the update mapping between pData and the descriptor set to update.a pointer to memory containing one or more pData)VkDescriptorImageInfo, VkDescriptorBufferInfo, or VkBufferView structures or VkAccelerationStructureKHR or VkAccelerationStructureNV handles used to write the descriptors. |
| VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_KHR_EXT | back to summary |
|---|---|
| public static final int VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_KHR_EXT Extends | |
| VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET_KHR | back to summary |
|---|---|
| public static final int VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET_KHR Extends | |
| VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR | back to summary |
|---|---|
| public static final int VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR Extends | |
| VK_KHR_DESCRIPTOR_UPDATE_TEMPLATE_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_KHR_DESCRIPTOR_UPDATE_TEMPLATE_EXTENSION_NAME The extension name. | |
| VK_KHR_DESCRIPTOR_UPDATE_TEMPLATE_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_KHR_DESCRIPTOR_UPDATE_TEMPLATE_SPEC_VERSION The extension specification version. | |
| VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_KHR | back to summary |
|---|---|
| public static final int VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_KHR Extends | |
| VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO_KHR Extends | |
| KHRDescriptorUpdateTemplate | back to summary |
|---|---|
| protected KHRDescriptorUpdateTemplate() | |
| nvkCreateDescriptorUpdateTemplateKHR | back to summary |
|---|---|
| public static int nvkCreateDescriptorUpdateTemplateKHR(VkDevice device, long pCreateInfo, long pAllocator, long pDescriptorUpdateTemplate) Unsafe version of: | |
| nvkDestroyDescriptorUpdateTemplateKHR | back to summary |
|---|---|
| public static void nvkDestroyDescriptorUpdateTemplateKHR(VkDevice device, long descriptorUpdateTemplate, long pAllocator) Unsafe version of: | |
| vkCmdPushDescriptorSetWithTemplateKHR | back to summary | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public static void vkCmdPushDescriptorSetWithTemplateKHR(VkCommandBuffer commandBuffer, long descriptorUpdateTemplate, long layout, int set, long pData) Pushes descriptor updates into a command buffer using a descriptor update template. C SpecificationIt is also possible to use a descriptor update template to specify the push descriptors to update. To do so, call:
Valid Usage
Valid Usage (Implicit)
Host Synchronization
Command Properties
| |||||||||||
| vkCreateDescriptorUpdateTemplateKHR | back to summary |
|---|---|
| public static int vkCreateDescriptorUpdateTemplateKHR(VkDevice device, VkDescriptorUpdateTemplateCreateInfo pCreateInfo, VkAllocationCallbacks pAllocator, LongBuffer pDescriptorUpdateTemplate) See
| |
| vkCreateDescriptorUpdateTemplateKHR | back to summary |
|---|---|
| public static int vkCreateDescriptorUpdateTemplateKHR(VkDevice device, VkDescriptorUpdateTemplateCreateInfo pCreateInfo, VkAllocationCallbacks pAllocator, long[] pDescriptorUpdateTemplate) Array version of:
| |
| vkDestroyDescriptorUpdateTemplateKHR | back to summary |
|---|---|
| public static void vkDestroyDescriptorUpdateTemplateKHR(VkDevice device, long descriptorUpdateTemplate, VkAllocationCallbacks pAllocator) See
| |
| vkUpdateDescriptorSetWithTemplateKHR | back to summary |
|---|---|
| public static void vkUpdateDescriptorSetWithTemplateKHR(VkDevice device, long descriptorSet, long descriptorUpdateTemplate, long pData) See
| |