VK_KHR_push_descriptorVK_KHR_get_physical_device_properties2| Modifier and Type | Field and Description |
|---|---|
| public static final int | VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR
Extends |
| public static final int | VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR
Extends |
| public static final String | VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME
The extension name. |
| public static final int | VK_KHR_PUSH_DESCRIPTOR_SPEC_VERSION
The extension specification version. |
| public static final int | VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static void | nvkCmdPushDescriptorSetKHR(VkCommandBuffer commandBuffer, int pipelineBindPoint, long layout, int set, int
the number of elements in the descriptorWriteCount, long pDescriptorWrites)pDescriptorWrites array.Unsafe version of: |
| public static void | vkCmdPushDescriptorSetKHR(VkCommandBuffer
the command buffer that the descriptors will be recorded in. commandBuffer, int a pipelineBindPoint, long VkPipelineBindPoint indicating the type of the pipeline that will use the descriptors. There is a separate set of push descriptor bindings for each pipeline type, so binding one does not disturb the others.a layout, int VkPipelineLayout object used to program the bindings.the set number of the descriptor set in the pipeline layout that will be updated. set, VkWriteDescriptorSet.a pointer to an array of pDescriptorWritesVkWriteDescriptorSet structures describing the descriptors to be updated.Pushes descriptor updates into a command buffer. |
| 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. |
| VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR | back to summary |
|---|---|
| public static final int VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_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_PUSH_DESCRIPTOR_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME The extension name. | |
| VK_KHR_PUSH_DESCRIPTOR_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_KHR_PUSH_DESCRIPTOR_SPEC_VERSION The extension specification version. | |
| VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR Extends | |
| KHRPushDescriptor | back to summary |
|---|---|
| protected KHRPushDescriptor() | |
| nvkCmdPushDescriptorSetKHR | back to summary |
|---|---|
| public static void nvkCmdPushDescriptorSetKHR(VkCommandBuffer commandBuffer, int pipelineBindPoint, long layout, int set, int descriptorWriteCount, long pDescriptorWrites) Unsafe version of:
| |
| vkCmdPushDescriptorSetKHR | back to summary | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public static void vkCmdPushDescriptorSetKHR(VkCommandBuffer commandBuffer, int pipelineBindPoint, long layout, int set, VkWriteDescriptorSet. Pushes descriptor updates into a command buffer. C SpecificationIn addition to allocating descriptor sets and binding them to a command buffer, an application can record descriptor updates into the command buffer. To push descriptor updates into a command buffer, call:
DescriptionPush descriptors are a small bank of descriptors whose storage is internally managed by the command buffer rather than being written into a descriptor set and later bound to a command buffer. Push descriptors allow for incremental updates of descriptors without managing the lifetime of descriptor sets. When a command buffer begins recording, all push descriptors are undefined. Push descriptors can be updated incrementally and cause shaders to use the updated descriptors for subsequent bound pipeline commands with the pipeline type set by Push descriptors that are statically used by a pipeline must not be undefined at the time that a drawing or dispatching command is recorded to execute using that pipeline. This includes immutable sampler descriptors, which must be pushed before they are accessed by a pipeline (the immutable samplers are pushed, rather than the samplers in Push descriptors do not use dynamic offsets. Instead, the corresponding non-dynamic descriptor types can be used and the Each element of To push an immutable sampler, use a Valid Usage
Valid Usage (Implicit)
Host Synchronization
Command Properties
See Also
| |||||||||||
| 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
| |||||||||||