[{"data":1,"prerenderedAt":433},["ShallowReactive",2],{"uInnhdpiaj":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":432,"_id":4},"vkCmdPushDescriptorSetWithTemplate2","Pushes descriptor updates into a command buffer using a descriptor update template","VK_VERSION_1_4","protos",[],{"type":10,"children":11,"toc":430},"root",[12,20,216,250,378,424],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","Alternatively, to use a descriptor update template to specify the push\ndescriptors to update, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,110],{"type":13,"tag":25,"props":26,"children":32},"pre",{"className":27,"code":28,"filename":29,"language":30,"meta":31,"style":31},"language-c shiki shiki-themes github-light-default github-dark-default","void vkCmdPushDescriptorSetWithTemplate2KHR(\n VkCommandBuffer commandBuffer,\n const VkPushDescriptorSetWithTemplateInfo* pPushDescriptorSetWithTemplateInfo);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,61,81],{"type":13,"tag":38,"props":39,"children":42},"span",{"class":40,"line":41},"line",1,[43,49,55],{"type":13,"tag":38,"props":44,"children":46},{"style":45},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[47],{"type":18,"value":48},"void",{"type":13,"tag":38,"props":50,"children":52},{"style":51},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[53],{"type":18,"value":54}," vkCmdPushDescriptorSetWithTemplate2KHR",{"type":13,"tag":38,"props":56,"children":58},{"style":57},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[59],{"type":18,"value":60},"(\n",{"type":13,"tag":38,"props":62,"children":64},{"class":40,"line":63},2,[65,70,76],{"type":13,"tag":38,"props":66,"children":67},{"style":57},[68],{"type":18,"value":69}," VkCommandBuffer ",{"type":13,"tag":38,"props":71,"children":73},{"style":72},"--shiki-default:#953800;--shiki-dark:#FFA657",[74],{"type":18,"value":75},"commandBuffer",{"type":13,"tag":38,"props":77,"children":78},{"style":57},[79],{"type":18,"value":80},",\n",{"type":13,"tag":38,"props":82,"children":84},{"class":40,"line":83},3,[85,90,95,100,105],{"type":13,"tag":38,"props":86,"children":87},{"style":45},[88],{"type":18,"value":89}," const",{"type":13,"tag":38,"props":91,"children":92},{"style":57},[93],{"type":18,"value":94}," VkPushDescriptorSetWithTemplateInfo",{"type":13,"tag":38,"props":96,"children":97},{"style":45},[98],{"type":18,"value":99},"*",{"type":13,"tag":38,"props":101,"children":102},{"style":72},[103],{"type":18,"value":104}," pPushDescriptorSetWithTemplateInfo",{"type":13,"tag":38,"props":106,"children":107},{"style":57},[108],{"type":18,"value":109},");\n",{"type":13,"tag":25,"props":111,"children":116},{"className":112,"code":113,"filename":114,"language":115,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn cmd_push_descriptor_set_with_template2_khr(\n command_buffer: vk::CommandBuffer,\n p_push_descriptor_set_with_template_info: *const vk::PushDescriptorSetWithTemplateInfo,\n);\n","Rust","rs",[117],{"type":13,"tag":34,"props":118,"children":119},{"__ignoreMap":31},[120,142,174,208],{"type":13,"tag":38,"props":121,"children":122},{"class":40,"line":41},[123,128,133,138],{"type":13,"tag":38,"props":124,"children":125},{"style":45},[126],{"type":18,"value":127},"pub",{"type":13,"tag":38,"props":129,"children":130},{"style":45},[131],{"type":18,"value":132}," fn",{"type":13,"tag":38,"props":134,"children":135},{"style":51},[136],{"type":18,"value":137}," cmd_push_descriptor_set_with_template2_khr",{"type":13,"tag":38,"props":139,"children":140},{"style":57},[141],{"type":18,"value":60},{"type":13,"tag":38,"props":143,"children":144},{"class":40,"line":63},[145,150,155,160,165,170],{"type":13,"tag":38,"props":146,"children":147},{"style":57},[148],{"type":18,"value":149}," command_buffer",{"type":13,"tag":38,"props":151,"children":152},{"style":45},[153],{"type":18,"value":154},":",{"type":13,"tag":38,"props":156,"children":157},{"style":72},[158],{"type":18,"value":159}," vk",{"type":13,"tag":38,"props":161,"children":162},{"style":45},[163],{"type":18,"value":164},"::",{"type":13,"tag":38,"props":166,"children":167},{"style":72},[168],{"type":18,"value":169},"CommandBuffer",{"type":13,"tag":38,"props":171,"children":172},{"style":57},[173],{"type":18,"value":80},{"type":13,"tag":38,"props":175,"children":176},{"class":40,"line":83},[177,182,186,191,195,199,204],{"type":13,"tag":38,"props":178,"children":179},{"style":57},[180],{"type":18,"value":181}," p_push_descriptor_set_with_template_info",{"type":13,"tag":38,"props":183,"children":184},{"style":45},[185],{"type":18,"value":154},{"type":13,"tag":38,"props":187,"children":188},{"style":45},[189],{"type":18,"value":190}," *const",{"type":13,"tag":38,"props":192,"children":193},{"style":72},[194],{"type":18,"value":159},{"type":13,"tag":38,"props":196,"children":197},{"style":45},[198],{"type":18,"value":164},{"type":13,"tag":38,"props":200,"children":201},{"style":72},[202],{"type":18,"value":203},"PushDescriptorSetWithTemplateInfo",{"type":13,"tag":38,"props":205,"children":206},{"style":57},[207],{"type":18,"value":80},{"type":13,"tag":38,"props":209,"children":211},{"class":40,"line":210},4,[212],{"type":13,"tag":38,"props":213,"children":214},{"style":57},[215],{"type":18,"value":109},{"type":13,"tag":217,"props":218,"children":219},"ul",{},[220,231],{"type":13,"tag":221,"props":222,"children":223},"li",{},[224,229],{"type":13,"tag":34,"props":225,"children":227},{"className":226},[],[228],{"type":18,"value":75},{"type":18,"value":230}," is the command buffer that the descriptors will be\nrecorded in.",{"type":13,"tag":221,"props":232,"children":233},{},[234,240,242,248],{"type":13,"tag":34,"props":235,"children":237},{"className":236},[],[238],{"type":18,"value":239},"pPushDescriptorSetWithTemplateInfo",{"type":18,"value":241}," is a pointer to a\n",{"type":13,"tag":34,"props":243,"children":245},{"className":244},[],[246],{"type":18,"value":247},"VkPushDescriptorSetWithTemplateInfo",{"type":18,"value":249}," structure.",{"type":13,"tag":251,"props":252,"children":254},"validity-group",{"name":253},"Valid Usage (Implicit)",[255,286,311,335,364],{"type":13,"tag":256,"props":257,"children":259},"validity-field",{"name":258},"VUID-vkCmdPushDescriptorSetWithTemplate2-commandBuffer-parameter",[260],{"type":13,"tag":14,"props":261,"children":262},{},[263,268,270,275,277,284],{"type":13,"tag":34,"props":264,"children":266},{"className":265},[],[267],{"type":18,"value":75},{"type":18,"value":269}," ",{"type":13,"tag":271,"props":272,"children":274},"normative",{"type":273},"must",[],{"type":18,"value":276}," be a valid ",{"type":13,"tag":278,"props":279,"children":281},"a",{"href":280},"/man/VkCommandBuffer",[282],{"type":18,"value":283},"VkCommandBuffer",{"type":18,"value":285}," handle",{"type":13,"tag":256,"props":287,"children":289},{"name":288},"VUID-vkCmdPushDescriptorSetWithTemplate2-pPushDescriptorSetWithTemplateInfo-parameter",[290],{"type":13,"tag":14,"props":291,"children":292},{},[293,298,299,302,304,309],{"type":13,"tag":34,"props":294,"children":296},{"className":295},[],[297],{"type":18,"value":239},{"type":18,"value":269},{"type":13,"tag":271,"props":300,"children":301},{"type":273},[],{"type":18,"value":303}," be a valid pointer to a valid ",{"type":13,"tag":278,"props":305,"children":307},{"href":306},"/man/VkPushDescriptorSetWithTemplateInfo",[308],{"type":18,"value":247},{"type":18,"value":310}," structure",{"type":13,"tag":256,"props":312,"children":314},{"name":313},"VUID-vkCmdPushDescriptorSetWithTemplate2-commandBuffer-recording",[315],{"type":13,"tag":14,"props":316,"children":317},{},[318,323,324,327,329],{"type":13,"tag":34,"props":319,"children":321},{"className":320},[],[322],{"type":18,"value":75},{"type":18,"value":269},{"type":13,"tag":271,"props":325,"children":326},{"type":273},[],{"type":18,"value":328}," be in the ",{"type":13,"tag":278,"props":330,"children":332},{"href":331},"/chapters/commandbuffers#commandbuffers-lifecycle",[333],{"type":18,"value":334},"recording state",{"type":13,"tag":256,"props":336,"children":338},{"name":337},"VUID-vkCmdPushDescriptorSetWithTemplate2-commandBuffer-cmdpool",[339],{"type":13,"tag":14,"props":340,"children":341},{},[342,344,350,352,357,359,362],{"type":18,"value":343},"The ",{"type":13,"tag":34,"props":345,"children":347},{"className":346},[],[348],{"type":18,"value":349},"VkCommandPool",{"type":18,"value":351}," that ",{"type":13,"tag":34,"props":353,"children":355},{"className":354},[],[356],{"type":18,"value":75},{"type":18,"value":358}," was allocated from ",{"type":13,"tag":271,"props":360,"children":361},{"type":273},[],{"type":18,"value":363}," support graphics, or compute operations",{"type":13,"tag":256,"props":365,"children":367},{"name":366},"VUID-vkCmdPushDescriptorSetWithTemplate2-videocoding",[368],{"type":13,"tag":14,"props":369,"children":370},{},[371,373,376],{"type":18,"value":372},"This command ",{"type":13,"tag":271,"props":374,"children":375},{"type":273},[],{"type":18,"value":377}," only be called outside of a video coding scope",{"type":13,"tag":379,"props":380,"children":382},"validity-box",{"name":381},"Host Synchronization",[383],{"type":13,"tag":217,"props":384,"children":385},{},[386,402],{"type":13,"tag":221,"props":387,"children":388},{},[389,391,396,397,400],{"type":18,"value":390},"Host access to ",{"type":13,"tag":34,"props":392,"children":394},{"className":393},[],[395],{"type":18,"value":75},{"type":18,"value":269},{"type":13,"tag":271,"props":398,"children":399},{"type":273},[],{"type":18,"value":401}," be externally synchronized",{"type":13,"tag":221,"props":403,"children":404},{},[405,407,412,413,418,419,422],{"type":18,"value":406},"Host access to the ",{"type":13,"tag":34,"props":408,"children":410},{"className":409},[],[411],{"type":18,"value":349},{"type":18,"value":351},{"type":13,"tag":34,"props":414,"children":416},{"className":415},[],[417],{"type":18,"value":75},{"type":18,"value":358},{"type":13,"tag":271,"props":420,"children":421},{"type":273},[],{"type":18,"value":423}," be externally synchronized\n::",{"type":13,"tag":425,"props":426,"children":427},"style",{},[428],{"type":18,"value":429},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":31,"searchDepth":63,"depth":63,"links":431},[],"markdown",1744876590197]