<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../assets/img/favicon-144.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../assets/img/favicon-144.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../assets/img/favicon-72.png">
<link rel="apple-touch-icon-precomposed" href="../../assets/img/favicon-32.png">
<link rel="shortcut icon" href="../../assets/img/favicon-32.png">

<link rel="stylesheet" href="../../assets/css/vk.css"/>
<link rel="stylesheet" href="../../assets/css/prism.css"/>


<vk-title>vkCmdBindDescriptorSets | NVK</vk-title>

<vk-centered>

  <vk-navigation>
  <vk-search-title>Search</vk-search-title>
  <vk-search>
    <input type="text" id="search" autocomplete="off" />
    <vk-search-results>
      <ol id="search-list">
        <li id="no-search-results">No Results</li>
      </ol>
    </vk-search-results>
  </vk-search>
  <vk-section-title style="margin-top: 1em;">Categories</vk-section-title>
  <vk-categories></vk-categories>
</vk-navigation>


  <vk-struct>

    <vk-name>vkCmdBindDescriptorSets</vk-name>

    <vk-description>Binds descriptor sets to a command buffer</vk-description>

    <vk-section-title>Syntax</vk-section-title>
    <vk-syntax>
      <pre><code class="language-js">void vkCmdBindDescriptorSets();
</code></pre>
    </vk-syntax>

    <vk-section-title>Parameters</vk-section-title>

    <vk-properties>
      <vk-property-entry>
        <vk-property-parameter>commandBuffer</vk-property-parameter>
        <vk-property-type type="object"><a href="../handles/VkCommandBuffer.html">VkCommandBuffer</a></vk-property-type>
        <vk-property-description> is the command buffer that the descriptor sets will be bound to.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>pipelineBindPoint</vk-property-parameter>
        <vk-property-type type="number"><a href="../enums/VkPipelineBindPoint.html">VkPipelineBindPoint</a></vk-property-type>
        <vk-property-description> is a <b>VkPipelineBindPoint</b> indicating whether the descriptors will be used by graphics pipelines or compute pipelines. There is a separate set of bind reference for each of graphics and compute, so binding one does not disturb the other.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>layout</vk-property-parameter>
        <vk-property-type type="object"><a href="../handles/VkPipelineLayout.html">VkPipelineLayout</a></vk-property-type>
        <vk-property-description> is a <b><a href="../handles/VkPipelineLayout.html">VkPipelineLayout</a></b> object used to program the bindings.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>firstSet</vk-property-parameter>
        <vk-property-type type="number">Number</vk-property-type>
        <vk-property-description> is the set number of the first descriptor set to be bound.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>descriptorSetCount</vk-property-parameter>
        <vk-property-type type="number">Number</vk-property-type>
        <vk-property-description> is the number of elements in the <b>pDescriptorSets</b> array.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>pDescriptorSets</vk-property-parameter>
        <vk-property-type type="array">Array<vk-property-type type="object">[<a href="../handles/VkDescriptorSet.html">VkDescriptorSet]</a></vk-property-type></vk-property-type>
        <vk-property-description> is an array of handles to <b><a href="../handles/VkDescriptorSet.html">VkDescriptorSet</a></b> objects describing the descriptor sets to write to.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>dynamicOffsetCount</vk-property-parameter>
        <vk-property-type type="number">Number</vk-property-type>
        <vk-property-description> is the number of dynamic offsets in the <b>pDynamicOffsets</b> array.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>pDynamicOffsets</vk-property-parameter>
        <vk-property-type type="typedarray"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array">Uint32Array</a></vk-property-type>
        <vk-property-description> is an array of <i>uint32_t</i> values specifying dynamic offsets.</vk-property-description>
      </vk-property-entry>
      
    </vk-properties>

  </vk-struct>

</vk-centered>

<script>
const IS_ROOT = false;
</script>

<script type="text/javascript" src="../../assets/js/prism.min.js"></script>
<script type="text/javascript" src="../../assets/js/index.js"></script>
