Vulkan-Docs/doc/specs/vulkan/man/vkCmdBindDescriptorSets.txt

71 lines
2.2 KiB
Plaintext

vkCmdBindDescriptorSets(3)
==========================
Name
----
vkCmdBindDescriptorSets - Binds descriptor sets to a command buffer.
C Specification
---------------
include::../protos/vkCmdBindDescriptorSets.txt[]
Parameters
----------
pname:commandBuffer::
The command buffer into which the command is to be placed.
pname:pipelineBindPoint::
The pipeline bind point the descriptor sets should be bound to.
pname:layout::
A handle to the layout used to create the descriptor sets.
pname:firstSet::
The first descriptor set index of the pipeline bind point updated by the
command.
pname:descriptorSetCount::
The number of descriptor set index of the pipeline bind point updated by
the command.
pname:pDescriptorSets::
An array of pname:descriptorSetCount number of descriptor set objects to
bind.
pname:dynamicOffsetCount::
The number of dynamic offsets to be applied to the descriptor sets.
pname:pDynamicOffsets::
An array of pname:dynamicOffsetCount number of offsets, each corresponding to a dynamic buffer descriptor
in the specified descriptor sets.
Description
-----------
fname:vkCmdBindDescriptorSets updates pname:descriptorSetCount number of
descriptor set bindings of the pipeline bind point specified by
pname:pipelineBindPoint starting from descriptor set index specified by
pname:firstSet. The parameter pname:pDescriptorSets specifies an array of
pname:descriptorSetCount number of descriptor set objects to bind.
pname:pDynamicOffsets provides pname:dynamicOffsetCount number of offsets
used for the dynamic buffer descriptors in the specified descriptor sets.
Each offset corresponds to one dynamic buffer descriptor entry in the set
index range. The order the offsets should be specified so that offsets
corresponding to lower indexed sets appear before offsets corresponding to
higher indexed sets, while offsets of the same set index should be specified
so that offsets corresponding to lower indexed bindings appear before
offsets corresponding to higher indexed bindings.
include::../validity/protos/vkCmdBindDescriptorSets.txt[]
See Also
--------
flink:vkAllocateDescriptorSets, flink:vkFreeDescriptorSets,
flink:vkCreateDescriptorPool, flink:vkCreateDescriptorSetLayout
include::footer.txt[]