[{"data":1,"prerenderedAt":1760},["ShallowReactive",2],{"eDMPvk0xRi":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":1759,"_id":4},"vkUpdateDescriptorSetWithTemplate","Update the contents of a descriptor set object using an update template","VK_VERSION_1_1","protos",[],{"type":10,"children":11,"toc":1757},"root",[12,36,327,428,512,633,640,1751],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,34],{"type":18,"value":19},"text","Once a ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":26},"VkDescriptorUpdateTemplate",{"type":18,"value":28}," has been created, descriptor sets\n",{"type":13,"tag":30,"props":31,"children":33},"normative",{"type":32},"can",[],{"type":18,"value":35}," be updated by calling:",{"type":13,"tag":37,"props":38,"children":39},"code-group",{},[40,156],{"type":13,"tag":41,"props":42,"children":48},"pre",{"className":43,"code":44,"filename":45,"language":46,"meta":47,"style":47},"language-c shiki shiki-themes github-light-default github-dark-default","void vkUpdateDescriptorSetWithTemplateKHR(\n VkDevice device,\n VkDescriptorSet descriptorSet,\n VkDescriptorUpdateTemplate descriptorUpdateTemplate,\n const void* pData);\n","C","c","",[49],{"type":13,"tag":21,"props":50,"children":51},{"__ignoreMap":47},[52,76,96,114,132],{"type":13,"tag":53,"props":54,"children":57},"span",{"class":55,"line":56},"line",1,[58,64,70],{"type":13,"tag":53,"props":59,"children":61},{"style":60},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[62],{"type":18,"value":63},"void",{"type":13,"tag":53,"props":65,"children":67},{"style":66},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[68],{"type":18,"value":69}," vkUpdateDescriptorSetWithTemplateKHR",{"type":13,"tag":53,"props":71,"children":73},{"style":72},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[74],{"type":18,"value":75},"(\n",{"type":13,"tag":53,"props":77,"children":79},{"class":55,"line":78},2,[80,85,91],{"type":13,"tag":53,"props":81,"children":82},{"style":72},[83],{"type":18,"value":84}," VkDevice ",{"type":13,"tag":53,"props":86,"children":88},{"style":87},"--shiki-default:#953800;--shiki-dark:#FFA657",[89],{"type":18,"value":90},"device",{"type":13,"tag":53,"props":92,"children":93},{"style":72},[94],{"type":18,"value":95},",\n",{"type":13,"tag":53,"props":97,"children":99},{"class":55,"line":98},3,[100,105,110],{"type":13,"tag":53,"props":101,"children":102},{"style":72},[103],{"type":18,"value":104}," VkDescriptorSet ",{"type":13,"tag":53,"props":106,"children":107},{"style":87},[108],{"type":18,"value":109},"descriptorSet",{"type":13,"tag":53,"props":111,"children":112},{"style":72},[113],{"type":18,"value":95},{"type":13,"tag":53,"props":115,"children":117},{"class":55,"line":116},4,[118,123,128],{"type":13,"tag":53,"props":119,"children":120},{"style":72},[121],{"type":18,"value":122}," VkDescriptorUpdateTemplate ",{"type":13,"tag":53,"props":124,"children":125},{"style":87},[126],{"type":18,"value":127},"descriptorUpdateTemplate",{"type":13,"tag":53,"props":129,"children":130},{"style":72},[131],{"type":18,"value":95},{"type":13,"tag":53,"props":133,"children":135},{"class":55,"line":134},5,[136,141,146,151],{"type":13,"tag":53,"props":137,"children":138},{"style":60},[139],{"type":18,"value":140}," const",{"type":13,"tag":53,"props":142,"children":143},{"style":60},[144],{"type":18,"value":145}," void*",{"type":13,"tag":53,"props":147,"children":148},{"style":87},[149],{"type":18,"value":150}," pData",{"type":13,"tag":53,"props":152,"children":153},{"style":72},[154],{"type":18,"value":155},");\n",{"type":13,"tag":41,"props":157,"children":162},{"className":158,"code":159,"filename":160,"language":161,"meta":47,"style":47},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn update_descriptor_set_with_template_khr(\n device: crate :: vk :: vk::Device,\n descriptor_set: vk::DescriptorSet,\n descriptor_update_template: vk::DescriptorUpdateTemplate,\n p_data: *const c_void,\n);\n","Rust","rs",[163],{"type":13,"tag":21,"props":164,"children":165},{"__ignoreMap":47},[166,188,239,268,297,319],{"type":13,"tag":53,"props":167,"children":168},{"class":55,"line":56},[169,174,179,184],{"type":13,"tag":53,"props":170,"children":171},{"style":60},[172],{"type":18,"value":173},"pub",{"type":13,"tag":53,"props":175,"children":176},{"style":60},[177],{"type":18,"value":178}," fn",{"type":13,"tag":53,"props":180,"children":181},{"style":66},[182],{"type":18,"value":183}," update_descriptor_set_with_template_khr",{"type":13,"tag":53,"props":185,"children":186},{"style":72},[187],{"type":18,"value":75},{"type":13,"tag":53,"props":189,"children":190},{"class":55,"line":78},[191,196,201,206,211,216,221,226,230,235],{"type":13,"tag":53,"props":192,"children":193},{"style":72},[194],{"type":18,"value":195}," device",{"type":13,"tag":53,"props":197,"children":198},{"style":60},[199],{"type":18,"value":200},":",{"type":13,"tag":53,"props":202,"children":203},{"style":60},[204],{"type":18,"value":205}," crate",{"type":13,"tag":53,"props":207,"children":208},{"style":60},[209],{"type":18,"value":210}," ::",{"type":13,"tag":53,"props":212,"children":213},{"style":72},[214],{"type":18,"value":215}," vk ",{"type":13,"tag":53,"props":217,"children":218},{"style":60},[219],{"type":18,"value":220},"::",{"type":13,"tag":53,"props":222,"children":223},{"style":87},[224],{"type":18,"value":225}," vk",{"type":13,"tag":53,"props":227,"children":228},{"style":60},[229],{"type":18,"value":220},{"type":13,"tag":53,"props":231,"children":232},{"style":87},[233],{"type":18,"value":234},"Device",{"type":13,"tag":53,"props":236,"children":237},{"style":72},[238],{"type":18,"value":95},{"type":13,"tag":53,"props":240,"children":241},{"class":55,"line":98},[242,247,251,255,259,264],{"type":13,"tag":53,"props":243,"children":244},{"style":72},[245],{"type":18,"value":246}," descriptor_set",{"type":13,"tag":53,"props":248,"children":249},{"style":60},[250],{"type":18,"value":200},{"type":13,"tag":53,"props":252,"children":253},{"style":87},[254],{"type":18,"value":225},{"type":13,"tag":53,"props":256,"children":257},{"style":60},[258],{"type":18,"value":220},{"type":13,"tag":53,"props":260,"children":261},{"style":87},[262],{"type":18,"value":263},"DescriptorSet",{"type":13,"tag":53,"props":265,"children":266},{"style":72},[267],{"type":18,"value":95},{"type":13,"tag":53,"props":269,"children":270},{"class":55,"line":116},[271,276,280,284,288,293],{"type":13,"tag":53,"props":272,"children":273},{"style":72},[274],{"type":18,"value":275}," descriptor_update_template",{"type":13,"tag":53,"props":277,"children":278},{"style":60},[279],{"type":18,"value":200},{"type":13,"tag":53,"props":281,"children":282},{"style":87},[283],{"type":18,"value":225},{"type":13,"tag":53,"props":285,"children":286},{"style":60},[287],{"type":18,"value":220},{"type":13,"tag":53,"props":289,"children":290},{"style":87},[291],{"type":18,"value":292},"DescriptorUpdateTemplate",{"type":13,"tag":53,"props":294,"children":295},{"style":72},[296],{"type":18,"value":95},{"type":13,"tag":53,"props":298,"children":299},{"class":55,"line":134},[300,305,309,314],{"type":13,"tag":53,"props":301,"children":302},{"style":72},[303],{"type":18,"value":304}," p_data",{"type":13,"tag":53,"props":306,"children":307},{"style":60},[308],{"type":18,"value":200},{"type":13,"tag":53,"props":310,"children":311},{"style":60},[312],{"type":18,"value":313}," *const",{"type":13,"tag":53,"props":315,"children":316},{"style":72},[317],{"type":18,"value":318}," c_void,\n",{"type":13,"tag":53,"props":320,"children":322},{"class":55,"line":321},6,[323],{"type":13,"tag":53,"props":324,"children":325},{"style":72},[326],{"type":18,"value":155},{"type":13,"tag":328,"props":329,"children":330},"ul",{},[331,342,352,378],{"type":13,"tag":332,"props":333,"children":334},"li",{},[335,340],{"type":13,"tag":21,"props":336,"children":338},{"className":337},[],[339],{"type":18,"value":90},{"type":18,"value":341}," is the logical device that updates the descriptor set.",{"type":13,"tag":332,"props":343,"children":344},{},[345,350],{"type":13,"tag":21,"props":346,"children":348},{"className":347},[],[349],{"type":18,"value":109},{"type":18,"value":351}," is the descriptor set to update",{"type":13,"tag":332,"props":353,"children":354},{},[355,360,362,368,370,376],{"type":13,"tag":21,"props":356,"children":358},{"className":357},[],[359],{"type":18,"value":127},{"type":18,"value":361}," is a ",{"type":13,"tag":363,"props":364,"children":366},"a",{"href":365},"/man/VkDescriptorUpdateTemplate",[367],{"type":18,"value":26},{"type":18,"value":369},"\nobject specifying the update mapping between ",{"type":13,"tag":21,"props":371,"children":373},{"className":372},[],[374],{"type":18,"value":375},"pData",{"type":18,"value":377}," and the\ndescriptor set to update.",{"type":13,"tag":332,"props":379,"children":380},{},[381,386,388,394,396,402,404,410,412,418,420,426],{"type":13,"tag":21,"props":382,"children":384},{"className":383},[],[385],{"type":18,"value":375},{"type":18,"value":387}," is a pointer to memory containing one or more\n",{"type":13,"tag":363,"props":389,"children":391},{"href":390},"/man/VkDescriptorImageInfo",[392],{"type":18,"value":393},"VkDescriptorImageInfo",{"type":18,"value":395},", ",{"type":13,"tag":363,"props":397,"children":399},{"href":398},"/man/VkDescriptorBufferInfo",[400],{"type":18,"value":401},"VkDescriptorBufferInfo",{"type":18,"value":403},", or\n",{"type":13,"tag":363,"props":405,"children":407},{"href":406},"/man/VkBufferView",[408],{"type":18,"value":409},"VkBufferView",{"type":18,"value":411}," structures\nor ",{"type":13,"tag":363,"props":413,"children":415},{"href":414},"/man/VkAccelerationStructureKHR",[416],{"type":18,"value":417},"VkAccelerationStructureKHR",{"type":18,"value":419},"\nor ",{"type":13,"tag":363,"props":421,"children":423},{"href":422},"/man/VkAccelerationStructureNV",[424],{"type":18,"value":425},"VkAccelerationStructureNV",{"type":18,"value":427},"\nhandles\nused to write the descriptors.",{"type":13,"tag":429,"props":430,"children":432},"validity-group",{"name":431},"Valid Usage",[433,484],{"type":13,"tag":434,"props":435,"children":437},"validity-field",{"name":436},"VUID-vkUpdateDescriptorSetWithTemplate-pData-01685",[438],{"type":13,"tag":14,"props":439,"children":440},{},[441,446,448,452,454,458,459,463,465,469,471,476,478],{"type":13,"tag":21,"props":442,"children":444},{"className":443},[],[445],{"type":18,"value":375},{"type":18,"value":447}," ",{"type":13,"tag":30,"props":449,"children":451},{"type":450},"must",[],{"type":18,"value":453}," be a valid pointer to a memory containing one or more\nvalid instances of ",{"type":13,"tag":363,"props":455,"children":456},{"href":390},[457],{"type":18,"value":393},{"type":18,"value":95},{"type":13,"tag":363,"props":460,"children":461},{"href":398},[462],{"type":18,"value":401},{"type":18,"value":464},", or ",{"type":13,"tag":363,"props":466,"children":467},{"href":406},[468],{"type":18,"value":409},{"type":18,"value":470}," in a layout defined\nby ",{"type":13,"tag":21,"props":472,"children":474},{"className":473},[],[475],{"type":18,"value":127},{"type":18,"value":477}," when it was created with\n",{"type":13,"tag":363,"props":479,"children":481},{"href":480},"/man/vkCreateDescriptorUpdateTemplate",[482],{"type":18,"value":483},"vkCreateDescriptorUpdateTemplate",{"type":13,"tag":434,"props":485,"children":487},{"name":486},"VUID-vkUpdateDescriptorSetWithTemplate-descriptorSet-06995",[488],{"type":13,"tag":14,"props":489,"children":490},{},[491,493,498,499,502,504,510],{"type":18,"value":492},"Host access to ",{"type":13,"tag":21,"props":494,"children":496},{"className":495},[],[497],{"type":18,"value":109},{"type":18,"value":447},{"type":13,"tag":30,"props":500,"children":501},{"type":450},[],{"type":18,"value":503}," be\n",{"type":13,"tag":363,"props":505,"children":507},{"href":506},"/chapters/fundamentals#fundamentals-threadingbehavior",[508],{"type":18,"value":509},"externally synchronized",{"type":18,"value":511},"\nunless explicitly denoted otherwise for specific flags",{"type":13,"tag":429,"props":513,"children":515},{"name":514},"Valid Usage (Implicit)",[516,542,566,588,611],{"type":13,"tag":434,"props":517,"children":519},{"name":518},"VUID-vkUpdateDescriptorSetWithTemplate-device-parameter",[520],{"type":13,"tag":14,"props":521,"children":522},{},[523,528,529,532,534,540],{"type":13,"tag":21,"props":524,"children":526},{"className":525},[],[527],{"type":18,"value":90},{"type":18,"value":447},{"type":13,"tag":30,"props":530,"children":531},{"type":450},[],{"type":18,"value":533}," be a valid ",{"type":13,"tag":363,"props":535,"children":537},{"href":536},"/man/VkDevice",[538],{"type":18,"value":539},"VkDevice",{"type":18,"value":541}," handle",{"type":13,"tag":434,"props":543,"children":545},{"name":544},"VUID-vkUpdateDescriptorSetWithTemplate-descriptorSet-parameter",[546],{"type":13,"tag":14,"props":547,"children":548},{},[549,554,555,558,559,565],{"type":13,"tag":21,"props":550,"children":552},{"className":551},[],[553],{"type":18,"value":109},{"type":18,"value":447},{"type":13,"tag":30,"props":556,"children":557},{"type":450},[],{"type":18,"value":533},{"type":13,"tag":363,"props":560,"children":562},{"href":561},"/man/VkDescriptorSet",[563],{"type":18,"value":564},"VkDescriptorSet",{"type":18,"value":541},{"type":13,"tag":434,"props":567,"children":569},{"name":568},"VUID-vkUpdateDescriptorSetWithTemplate-descriptorUpdateTemplate-parameter",[570],{"type":13,"tag":14,"props":571,"children":572},{},[573,578,579,582,583,587],{"type":13,"tag":21,"props":574,"children":576},{"className":575},[],[577],{"type":18,"value":127},{"type":18,"value":447},{"type":13,"tag":30,"props":580,"children":581},{"type":450},[],{"type":18,"value":533},{"type":13,"tag":363,"props":584,"children":585},{"href":365},[586],{"type":18,"value":26},{"type":18,"value":541},{"type":13,"tag":434,"props":589,"children":591},{"name":590},"VUID-vkUpdateDescriptorSetWithTemplate-descriptorSet-parent",[592],{"type":13,"tag":14,"props":593,"children":594},{},[595,600,601,604,606],{"type":13,"tag":21,"props":596,"children":598},{"className":597},[],[599],{"type":18,"value":109},{"type":18,"value":447},{"type":13,"tag":30,"props":602,"children":603},{"type":450},[],{"type":18,"value":605}," have been created, allocated, or retrieved from ",{"type":13,"tag":21,"props":607,"children":609},{"className":608},[],[610],{"type":18,"value":90},{"type":13,"tag":434,"props":612,"children":614},{"name":613},"VUID-vkUpdateDescriptorSetWithTemplate-descriptorUpdateTemplate-parent",[615],{"type":13,"tag":14,"props":616,"children":617},{},[618,623,624,627,628],{"type":13,"tag":21,"props":619,"children":621},{"className":620},[],[622],{"type":18,"value":127},{"type":18,"value":447},{"type":13,"tag":30,"props":625,"children":626},{"type":450},[],{"type":18,"value":605},{"type":13,"tag":21,"props":629,"children":631},{"className":630},[],[632],{"type":18,"value":90},{"type":13,"tag":634,"props":635,"children":637},"h1",{"id":636},"api-example",[638],{"type":18,"value":639},"API example",{"type":13,"tag":41,"props":641,"children":645},{"className":642,"code":643,"language":644,"meta":47,"style":47},"language-c++ shiki shiki-themes github-light-default github-dark-default","struct AppBufferView {\n VkBufferView bufferView;\n uint32_t applicationRelatedInformation;\n};\n\nstruct AppDataStructure\n{\n VkDescriptorImageInfo imageInfo; // a single image info\n VkDescriptorBufferInfo bufferInfoArray[3]; // 3 buffer infos in an array\n AppBufferView bufferView[2]; // An application-defined structure containing a bufferView\n // ... some more application-related data\n};\n\nconst VkDescriptorUpdateTemplateEntry descriptorUpdateTemplateEntries[] =\n{\n // binding to a single image descriptor\n {\n .binding = 0,\n .dstArrayElement = 0,\n .descriptorCount = 1,\n .descriptorType = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER,\n .offset = offsetof(AppDataStructure, imageInfo),\n .stride = 0 // stride not required if descriptorCount is 1\n },\n\n // binding to an array of buffer descriptors\n {\n .binding = 1,\n .dstArrayElement = 0,\n .descriptorCount = 3,\n .descriptorType = VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER,\n .offset = offsetof(AppDataStructure, bufferInfoArray),\n .stride = sizeof(VkDescriptorBufferInfo) // descriptor buffer infos are compact\n },\n\n // binding to an array of buffer views\n {\n .binding = 2,\n .dstArrayElement = 0,\n .descriptorCount = 2,\n .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER,\n .offset = offsetof(AppDataStructure, bufferView) +\n offsetof(AppBufferView, bufferView),\n .stride = sizeof(AppBufferView) // bufferViews do not have to be compact\n },\n};\n\n// create a descriptor update template for descriptor set updates\nconst VkDescriptorUpdateTemplateCreateInfo createInfo =\n{\n .sType = VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO,\n .pNext = NULL,\n .flags = 0,\n .descriptorUpdateEntryCount = 3,\n .pDescriptorUpdateEntries = descriptorUpdateTemplateEntries,\n .templateType = VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET,\n .descriptorSetLayout = myLayout,\n .pipelineBindPoint = 0, // ignored by given templateType\n .pipelineLayout = 0, // ignored by given templateType\n .set = 0, // ignored by given templateType\n};\n\nVkDescriptorUpdateTemplate myDescriptorUpdateTemplate;\nmyResult = vkCreateDescriptorUpdateTemplate(\n myDevice,\n &createInfo,\n NULL,\n &myDescriptorUpdateTemplate);\n\nAppDataStructure appData;\n\n// fill appData here or cache it in your engine\nvkUpdateDescriptorSetWithTemplate(myDevice, myDescriptorSet, myDescriptorUpdateTemplate, &appData);\n","c++",[646],{"type":13,"tag":21,"props":647,"children":648},{"__ignoreMap":47},[649,667,675,688,696,705,717,726,741,766,789,798,806,814,833,841,850,859,882,903,925,943,966,988,997,1005,1014,1022,1042,1062,1083,1100,1121,1148,1156,1164,1173,1181,1202,1222,1242,1259,1285,1299,1325,1333,1341,1349,1358,1375,1383,1401,1423,1444,1465,1483,1501,1519,1546,1572,1598,1606,1614,1623,1645,1654,1668,1681,1694,1702,1711,1719,1728],{"type":13,"tag":53,"props":650,"children":651},{"class":55,"line":56},[652,657,662],{"type":13,"tag":53,"props":653,"children":654},{"style":60},[655],{"type":18,"value":656},"struct",{"type":13,"tag":53,"props":658,"children":659},{"style":87},[660],{"type":18,"value":661}," AppBufferView",{"type":13,"tag":53,"props":663,"children":664},{"style":72},[665],{"type":18,"value":666}," {\n",{"type":13,"tag":53,"props":668,"children":669},{"class":55,"line":78},[670],{"type":13,"tag":53,"props":671,"children":672},{"style":72},[673],{"type":18,"value":674}," VkBufferView bufferView;\n",{"type":13,"tag":53,"props":676,"children":677},{"class":55,"line":98},[678,683],{"type":13,"tag":53,"props":679,"children":680},{"style":60},[681],{"type":18,"value":682}," uint32_t",{"type":13,"tag":53,"props":684,"children":685},{"style":72},[686],{"type":18,"value":687}," applicationRelatedInformation;\n",{"type":13,"tag":53,"props":689,"children":690},{"class":55,"line":116},[691],{"type":13,"tag":53,"props":692,"children":693},{"style":72},[694],{"type":18,"value":695},"};\n",{"type":13,"tag":53,"props":697,"children":698},{"class":55,"line":134},[699],{"type":13,"tag":53,"props":700,"children":702},{"emptyLinePlaceholder":701},true,[703],{"type":18,"value":704},"\n",{"type":13,"tag":53,"props":706,"children":707},{"class":55,"line":321},[708,712],{"type":13,"tag":53,"props":709,"children":710},{"style":60},[711],{"type":18,"value":656},{"type":13,"tag":53,"props":713,"children":714},{"style":87},[715],{"type":18,"value":716}," AppDataStructure\n",{"type":13,"tag":53,"props":718,"children":720},{"class":55,"line":719},7,[721],{"type":13,"tag":53,"props":722,"children":723},{"style":72},[724],{"type":18,"value":725},"{\n",{"type":13,"tag":53,"props":727,"children":729},{"class":55,"line":728},8,[730,735],{"type":13,"tag":53,"props":731,"children":732},{"style":72},[733],{"type":18,"value":734}," VkDescriptorImageInfo imageInfo;",{"type":13,"tag":53,"props":736,"children":738},{"style":737},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[739],{"type":18,"value":740}," // a single image info\n",{"type":13,"tag":53,"props":742,"children":744},{"class":55,"line":743},9,[745,750,756,761],{"type":13,"tag":53,"props":746,"children":747},{"style":72},[748],{"type":18,"value":749}," VkDescriptorBufferInfo bufferInfoArray[",{"type":13,"tag":53,"props":751,"children":753},{"style":752},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[754],{"type":18,"value":755},"3",{"type":13,"tag":53,"props":757,"children":758},{"style":72},[759],{"type":18,"value":760},"];",{"type":13,"tag":53,"props":762,"children":763},{"style":737},[764],{"type":18,"value":765}," // 3 buffer infos in an array\n",{"type":13,"tag":53,"props":767,"children":769},{"class":55,"line":768},10,[770,775,780,784],{"type":13,"tag":53,"props":771,"children":772},{"style":72},[773],{"type":18,"value":774}," AppBufferView bufferView[",{"type":13,"tag":53,"props":776,"children":777},{"style":752},[778],{"type":18,"value":779},"2",{"type":13,"tag":53,"props":781,"children":782},{"style":72},[783],{"type":18,"value":760},{"type":13,"tag":53,"props":785,"children":786},{"style":737},[787],{"type":18,"value":788}," // An application-defined structure containing a bufferView\n",{"type":13,"tag":53,"props":790,"children":792},{"class":55,"line":791},11,[793],{"type":13,"tag":53,"props":794,"children":795},{"style":737},[796],{"type":18,"value":797}," // ... some more application-related data\n",{"type":13,"tag":53,"props":799,"children":801},{"class":55,"line":800},12,[802],{"type":13,"tag":53,"props":803,"children":804},{"style":72},[805],{"type":18,"value":695},{"type":13,"tag":53,"props":807,"children":809},{"class":55,"line":808},13,[810],{"type":13,"tag":53,"props":811,"children":812},{"emptyLinePlaceholder":701},[813],{"type":18,"value":704},{"type":13,"tag":53,"props":815,"children":817},{"class":55,"line":816},14,[818,823,828],{"type":13,"tag":53,"props":819,"children":820},{"style":60},[821],{"type":18,"value":822},"const",{"type":13,"tag":53,"props":824,"children":825},{"style":72},[826],{"type":18,"value":827}," VkDescriptorUpdateTemplateEntry descriptorUpdateTemplateEntries[] ",{"type":13,"tag":53,"props":829,"children":830},{"style":60},[831],{"type":18,"value":832},"=\n",{"type":13,"tag":53,"props":834,"children":836},{"class":55,"line":835},15,[837],{"type":13,"tag":53,"props":838,"children":839},{"style":72},[840],{"type":18,"value":725},{"type":13,"tag":53,"props":842,"children":844},{"class":55,"line":843},16,[845],{"type":13,"tag":53,"props":846,"children":847},{"style":737},[848],{"type":18,"value":849}," // binding to a single image descriptor\n",{"type":13,"tag":53,"props":851,"children":853},{"class":55,"line":852},17,[854],{"type":13,"tag":53,"props":855,"children":856},{"style":72},[857],{"type":18,"value":858}," {\n",{"type":13,"tag":53,"props":860,"children":862},{"class":55,"line":861},18,[863,868,873,878],{"type":13,"tag":53,"props":864,"children":865},{"style":72},[866],{"type":18,"value":867}," .binding ",{"type":13,"tag":53,"props":869,"children":870},{"style":60},[871],{"type":18,"value":872},"=",{"type":13,"tag":53,"props":874,"children":875},{"style":752},[876],{"type":18,"value":877}," 0",{"type":13,"tag":53,"props":879,"children":880},{"style":72},[881],{"type":18,"value":95},{"type":13,"tag":53,"props":883,"children":885},{"class":55,"line":884},19,[886,891,895,899],{"type":13,"tag":53,"props":887,"children":888},{"style":72},[889],{"type":18,"value":890}," .dstArrayElement ",{"type":13,"tag":53,"props":892,"children":893},{"style":60},[894],{"type":18,"value":872},{"type":13,"tag":53,"props":896,"children":897},{"style":752},[898],{"type":18,"value":877},{"type":13,"tag":53,"props":900,"children":901},{"style":72},[902],{"type":18,"value":95},{"type":13,"tag":53,"props":904,"children":906},{"class":55,"line":905},20,[907,912,916,921],{"type":13,"tag":53,"props":908,"children":909},{"style":72},[910],{"type":18,"value":911}," .descriptorCount ",{"type":13,"tag":53,"props":913,"children":914},{"style":60},[915],{"type":18,"value":872},{"type":13,"tag":53,"props":917,"children":918},{"style":752},[919],{"type":18,"value":920}," 1",{"type":13,"tag":53,"props":922,"children":923},{"style":72},[924],{"type":18,"value":95},{"type":13,"tag":53,"props":926,"children":928},{"class":55,"line":927},21,[929,934,938],{"type":13,"tag":53,"props":930,"children":931},{"style":72},[932],{"type":18,"value":933}," .descriptorType ",{"type":13,"tag":53,"props":935,"children":936},{"style":60},[937],{"type":18,"value":872},{"type":13,"tag":53,"props":939,"children":940},{"style":72},[941],{"type":18,"value":942}," VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER,\n",{"type":13,"tag":53,"props":944,"children":946},{"class":55,"line":945},22,[947,952,956,961],{"type":13,"tag":53,"props":948,"children":949},{"style":72},[950],{"type":18,"value":951}," .offset ",{"type":13,"tag":53,"props":953,"children":954},{"style":60},[955],{"type":18,"value":872},{"type":13,"tag":53,"props":957,"children":958},{"style":66},[959],{"type":18,"value":960}," offsetof",{"type":13,"tag":53,"props":962,"children":963},{"style":72},[964],{"type":18,"value":965},"(AppDataStructure, imageInfo),\n",{"type":13,"tag":53,"props":967,"children":969},{"class":55,"line":968},23,[970,975,979,983],{"type":13,"tag":53,"props":971,"children":972},{"style":72},[973],{"type":18,"value":974}," .stride ",{"type":13,"tag":53,"props":976,"children":977},{"style":60},[978],{"type":18,"value":872},{"type":13,"tag":53,"props":980,"children":981},{"style":752},[982],{"type":18,"value":877},{"type":13,"tag":53,"props":984,"children":985},{"style":737},[986],{"type":18,"value":987}," // stride not required if descriptorCount is 1\n",{"type":13,"tag":53,"props":989,"children":991},{"class":55,"line":990},24,[992],{"type":13,"tag":53,"props":993,"children":994},{"style":72},[995],{"type":18,"value":996}," },\n",{"type":13,"tag":53,"props":998,"children":1000},{"class":55,"line":999},25,[1001],{"type":13,"tag":53,"props":1002,"children":1003},{"emptyLinePlaceholder":701},[1004],{"type":18,"value":704},{"type":13,"tag":53,"props":1006,"children":1008},{"class":55,"line":1007},26,[1009],{"type":13,"tag":53,"props":1010,"children":1011},{"style":737},[1012],{"type":18,"value":1013}," // binding to an array of buffer descriptors\n",{"type":13,"tag":53,"props":1015,"children":1017},{"class":55,"line":1016},27,[1018],{"type":13,"tag":53,"props":1019,"children":1020},{"style":72},[1021],{"type":18,"value":858},{"type":13,"tag":53,"props":1023,"children":1025},{"class":55,"line":1024},28,[1026,1030,1034,1038],{"type":13,"tag":53,"props":1027,"children":1028},{"style":72},[1029],{"type":18,"value":867},{"type":13,"tag":53,"props":1031,"children":1032},{"style":60},[1033],{"type":18,"value":872},{"type":13,"tag":53,"props":1035,"children":1036},{"style":752},[1037],{"type":18,"value":920},{"type":13,"tag":53,"props":1039,"children":1040},{"style":72},[1041],{"type":18,"value":95},{"type":13,"tag":53,"props":1043,"children":1045},{"class":55,"line":1044},29,[1046,1050,1054,1058],{"type":13,"tag":53,"props":1047,"children":1048},{"style":72},[1049],{"type":18,"value":890},{"type":13,"tag":53,"props":1051,"children":1052},{"style":60},[1053],{"type":18,"value":872},{"type":13,"tag":53,"props":1055,"children":1056},{"style":752},[1057],{"type":18,"value":877},{"type":13,"tag":53,"props":1059,"children":1060},{"style":72},[1061],{"type":18,"value":95},{"type":13,"tag":53,"props":1063,"children":1065},{"class":55,"line":1064},30,[1066,1070,1074,1079],{"type":13,"tag":53,"props":1067,"children":1068},{"style":72},[1069],{"type":18,"value":911},{"type":13,"tag":53,"props":1071,"children":1072},{"style":60},[1073],{"type":18,"value":872},{"type":13,"tag":53,"props":1075,"children":1076},{"style":752},[1077],{"type":18,"value":1078}," 3",{"type":13,"tag":53,"props":1080,"children":1081},{"style":72},[1082],{"type":18,"value":95},{"type":13,"tag":53,"props":1084,"children":1086},{"class":55,"line":1085},31,[1087,1091,1095],{"type":13,"tag":53,"props":1088,"children":1089},{"style":72},[1090],{"type":18,"value":933},{"type":13,"tag":53,"props":1092,"children":1093},{"style":60},[1094],{"type":18,"value":872},{"type":13,"tag":53,"props":1096,"children":1097},{"style":72},[1098],{"type":18,"value":1099}," VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER,\n",{"type":13,"tag":53,"props":1101,"children":1103},{"class":55,"line":1102},32,[1104,1108,1112,1116],{"type":13,"tag":53,"props":1105,"children":1106},{"style":72},[1107],{"type":18,"value":951},{"type":13,"tag":53,"props":1109,"children":1110},{"style":60},[1111],{"type":18,"value":872},{"type":13,"tag":53,"props":1113,"children":1114},{"style":66},[1115],{"type":18,"value":960},{"type":13,"tag":53,"props":1117,"children":1118},{"style":72},[1119],{"type":18,"value":1120},"(AppDataStructure, bufferInfoArray),\n",{"type":13,"tag":53,"props":1122,"children":1124},{"class":55,"line":1123},33,[1125,1129,1133,1138,1143],{"type":13,"tag":53,"props":1126,"children":1127},{"style":72},[1128],{"type":18,"value":974},{"type":13,"tag":53,"props":1130,"children":1131},{"style":60},[1132],{"type":18,"value":872},{"type":13,"tag":53,"props":1134,"children":1135},{"style":60},[1136],{"type":18,"value":1137}," sizeof",{"type":13,"tag":53,"props":1139,"children":1140},{"style":72},[1141],{"type":18,"value":1142},"(VkDescriptorBufferInfo)",{"type":13,"tag":53,"props":1144,"children":1145},{"style":737},[1146],{"type":18,"value":1147}," // descriptor buffer infos are compact\n",{"type":13,"tag":53,"props":1149,"children":1151},{"class":55,"line":1150},34,[1152],{"type":13,"tag":53,"props":1153,"children":1154},{"style":72},[1155],{"type":18,"value":996},{"type":13,"tag":53,"props":1157,"children":1159},{"class":55,"line":1158},35,[1160],{"type":13,"tag":53,"props":1161,"children":1162},{"emptyLinePlaceholder":701},[1163],{"type":18,"value":704},{"type":13,"tag":53,"props":1165,"children":1167},{"class":55,"line":1166},36,[1168],{"type":13,"tag":53,"props":1169,"children":1170},{"style":737},[1171],{"type":18,"value":1172}," // binding to an array of buffer views\n",{"type":13,"tag":53,"props":1174,"children":1176},{"class":55,"line":1175},37,[1177],{"type":13,"tag":53,"props":1178,"children":1179},{"style":72},[1180],{"type":18,"value":858},{"type":13,"tag":53,"props":1182,"children":1184},{"class":55,"line":1183},38,[1185,1189,1193,1198],{"type":13,"tag":53,"props":1186,"children":1187},{"style":72},[1188],{"type":18,"value":867},{"type":13,"tag":53,"props":1190,"children":1191},{"style":60},[1192],{"type":18,"value":872},{"type":13,"tag":53,"props":1194,"children":1195},{"style":752},[1196],{"type":18,"value":1197}," 2",{"type":13,"tag":53,"props":1199,"children":1200},{"style":72},[1201],{"type":18,"value":95},{"type":13,"tag":53,"props":1203,"children":1205},{"class":55,"line":1204},39,[1206,1210,1214,1218],{"type":13,"tag":53,"props":1207,"children":1208},{"style":72},[1209],{"type":18,"value":890},{"type":13,"tag":53,"props":1211,"children":1212},{"style":60},[1213],{"type":18,"value":872},{"type":13,"tag":53,"props":1215,"children":1216},{"style":752},[1217],{"type":18,"value":877},{"type":13,"tag":53,"props":1219,"children":1220},{"style":72},[1221],{"type":18,"value":95},{"type":13,"tag":53,"props":1223,"children":1225},{"class":55,"line":1224},40,[1226,1230,1234,1238],{"type":13,"tag":53,"props":1227,"children":1228},{"style":72},[1229],{"type":18,"value":911},{"type":13,"tag":53,"props":1231,"children":1232},{"style":60},[1233],{"type":18,"value":872},{"type":13,"tag":53,"props":1235,"children":1236},{"style":752},[1237],{"type":18,"value":1197},{"type":13,"tag":53,"props":1239,"children":1240},{"style":72},[1241],{"type":18,"value":95},{"type":13,"tag":53,"props":1243,"children":1245},{"class":55,"line":1244},41,[1246,1250,1254],{"type":13,"tag":53,"props":1247,"children":1248},{"style":72},[1249],{"type":18,"value":933},{"type":13,"tag":53,"props":1251,"children":1252},{"style":60},[1253],{"type":18,"value":872},{"type":13,"tag":53,"props":1255,"children":1256},{"style":72},[1257],{"type":18,"value":1258}," VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER,\n",{"type":13,"tag":53,"props":1260,"children":1262},{"class":55,"line":1261},42,[1263,1267,1271,1275,1280],{"type":13,"tag":53,"props":1264,"children":1265},{"style":72},[1266],{"type":18,"value":951},{"type":13,"tag":53,"props":1268,"children":1269},{"style":60},[1270],{"type":18,"value":872},{"type":13,"tag":53,"props":1272,"children":1273},{"style":66},[1274],{"type":18,"value":960},{"type":13,"tag":53,"props":1276,"children":1277},{"style":72},[1278],{"type":18,"value":1279},"(AppDataStructure, bufferView) ",{"type":13,"tag":53,"props":1281,"children":1282},{"style":60},[1283],{"type":18,"value":1284},"+\n",{"type":13,"tag":53,"props":1286,"children":1288},{"class":55,"line":1287},43,[1289,1294],{"type":13,"tag":53,"props":1290,"children":1291},{"style":66},[1292],{"type":18,"value":1293}," offsetof",{"type":13,"tag":53,"props":1295,"children":1296},{"style":72},[1297],{"type":18,"value":1298},"(AppBufferView, bufferView),\n",{"type":13,"tag":53,"props":1300,"children":1302},{"class":55,"line":1301},44,[1303,1307,1311,1315,1320],{"type":13,"tag":53,"props":1304,"children":1305},{"style":72},[1306],{"type":18,"value":974},{"type":13,"tag":53,"props":1308,"children":1309},{"style":60},[1310],{"type":18,"value":872},{"type":13,"tag":53,"props":1312,"children":1313},{"style":60},[1314],{"type":18,"value":1137},{"type":13,"tag":53,"props":1316,"children":1317},{"style":72},[1318],{"type":18,"value":1319},"(AppBufferView)",{"type":13,"tag":53,"props":1321,"children":1322},{"style":737},[1323],{"type":18,"value":1324}," // bufferViews do not have to be compact\n",{"type":13,"tag":53,"props":1326,"children":1328},{"class":55,"line":1327},45,[1329],{"type":13,"tag":53,"props":1330,"children":1331},{"style":72},[1332],{"type":18,"value":996},{"type":13,"tag":53,"props":1334,"children":1336},{"class":55,"line":1335},46,[1337],{"type":13,"tag":53,"props":1338,"children":1339},{"style":72},[1340],{"type":18,"value":695},{"type":13,"tag":53,"props":1342,"children":1344},{"class":55,"line":1343},47,[1345],{"type":13,"tag":53,"props":1346,"children":1347},{"emptyLinePlaceholder":701},[1348],{"type":18,"value":704},{"type":13,"tag":53,"props":1350,"children":1352},{"class":55,"line":1351},48,[1353],{"type":13,"tag":53,"props":1354,"children":1355},{"style":737},[1356],{"type":18,"value":1357},"// create a descriptor update template for descriptor set updates\n",{"type":13,"tag":53,"props":1359,"children":1361},{"class":55,"line":1360},49,[1362,1366,1371],{"type":13,"tag":53,"props":1363,"children":1364},{"style":60},[1365],{"type":18,"value":822},{"type":13,"tag":53,"props":1367,"children":1368},{"style":72},[1369],{"type":18,"value":1370}," VkDescriptorUpdateTemplateCreateInfo createInfo ",{"type":13,"tag":53,"props":1372,"children":1373},{"style":60},[1374],{"type":18,"value":832},{"type":13,"tag":53,"props":1376,"children":1378},{"class":55,"line":1377},50,[1379],{"type":13,"tag":53,"props":1380,"children":1381},{"style":72},[1382],{"type":18,"value":725},{"type":13,"tag":53,"props":1384,"children":1386},{"class":55,"line":1385},51,[1387,1392,1396],{"type":13,"tag":53,"props":1388,"children":1389},{"style":72},[1390],{"type":18,"value":1391}," .sType ",{"type":13,"tag":53,"props":1393,"children":1394},{"style":60},[1395],{"type":18,"value":872},{"type":13,"tag":53,"props":1397,"children":1398},{"style":72},[1399],{"type":18,"value":1400}," VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO,\n",{"type":13,"tag":53,"props":1402,"children":1404},{"class":55,"line":1403},52,[1405,1410,1414,1419],{"type":13,"tag":53,"props":1406,"children":1407},{"style":72},[1408],{"type":18,"value":1409}," .pNext ",{"type":13,"tag":53,"props":1411,"children":1412},{"style":60},[1413],{"type":18,"value":872},{"type":13,"tag":53,"props":1415,"children":1416},{"style":752},[1417],{"type":18,"value":1418}," NULL",{"type":13,"tag":53,"props":1420,"children":1421},{"style":72},[1422],{"type":18,"value":95},{"type":13,"tag":53,"props":1424,"children":1426},{"class":55,"line":1425},53,[1427,1432,1436,1440],{"type":13,"tag":53,"props":1428,"children":1429},{"style":72},[1430],{"type":18,"value":1431}," .flags ",{"type":13,"tag":53,"props":1433,"children":1434},{"style":60},[1435],{"type":18,"value":872},{"type":13,"tag":53,"props":1437,"children":1438},{"style":752},[1439],{"type":18,"value":877},{"type":13,"tag":53,"props":1441,"children":1442},{"style":72},[1443],{"type":18,"value":95},{"type":13,"tag":53,"props":1445,"children":1447},{"class":55,"line":1446},54,[1448,1453,1457,1461],{"type":13,"tag":53,"props":1449,"children":1450},{"style":72},[1451],{"type":18,"value":1452}," .descriptorUpdateEntryCount ",{"type":13,"tag":53,"props":1454,"children":1455},{"style":60},[1456],{"type":18,"value":872},{"type":13,"tag":53,"props":1458,"children":1459},{"style":752},[1460],{"type":18,"value":1078},{"type":13,"tag":53,"props":1462,"children":1463},{"style":72},[1464],{"type":18,"value":95},{"type":13,"tag":53,"props":1466,"children":1468},{"class":55,"line":1467},55,[1469,1474,1478],{"type":13,"tag":53,"props":1470,"children":1471},{"style":72},[1472],{"type":18,"value":1473}," .pDescriptorUpdateEntries ",{"type":13,"tag":53,"props":1475,"children":1476},{"style":60},[1477],{"type":18,"value":872},{"type":13,"tag":53,"props":1479,"children":1480},{"style":72},[1481],{"type":18,"value":1482}," descriptorUpdateTemplateEntries,\n",{"type":13,"tag":53,"props":1484,"children":1486},{"class":55,"line":1485},56,[1487,1492,1496],{"type":13,"tag":53,"props":1488,"children":1489},{"style":72},[1490],{"type":18,"value":1491}," .templateType ",{"type":13,"tag":53,"props":1493,"children":1494},{"style":60},[1495],{"type":18,"value":872},{"type":13,"tag":53,"props":1497,"children":1498},{"style":72},[1499],{"type":18,"value":1500}," VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET,\n",{"type":13,"tag":53,"props":1502,"children":1504},{"class":55,"line":1503},57,[1505,1510,1514],{"type":13,"tag":53,"props":1506,"children":1507},{"style":72},[1508],{"type":18,"value":1509}," .descriptorSetLayout ",{"type":13,"tag":53,"props":1511,"children":1512},{"style":60},[1513],{"type":18,"value":872},{"type":13,"tag":53,"props":1515,"children":1516},{"style":72},[1517],{"type":18,"value":1518}," myLayout,\n",{"type":13,"tag":53,"props":1520,"children":1522},{"class":55,"line":1521},58,[1523,1528,1532,1536,1541],{"type":13,"tag":53,"props":1524,"children":1525},{"style":72},[1526],{"type":18,"value":1527}," .pipelineBindPoint ",{"type":13,"tag":53,"props":1529,"children":1530},{"style":60},[1531],{"type":18,"value":872},{"type":13,"tag":53,"props":1533,"children":1534},{"style":752},[1535],{"type":18,"value":877},{"type":13,"tag":53,"props":1537,"children":1538},{"style":72},[1539],{"type":18,"value":1540},",",{"type":13,"tag":53,"props":1542,"children":1543},{"style":737},[1544],{"type":18,"value":1545}," // ignored by given templateType\n",{"type":13,"tag":53,"props":1547,"children":1549},{"class":55,"line":1548},59,[1550,1555,1559,1563,1567],{"type":13,"tag":53,"props":1551,"children":1552},{"style":72},[1553],{"type":18,"value":1554}," .pipelineLayout ",{"type":13,"tag":53,"props":1556,"children":1557},{"style":60},[1558],{"type":18,"value":872},{"type":13,"tag":53,"props":1560,"children":1561},{"style":752},[1562],{"type":18,"value":877},{"type":13,"tag":53,"props":1564,"children":1565},{"style":72},[1566],{"type":18,"value":1540},{"type":13,"tag":53,"props":1568,"children":1569},{"style":737},[1570],{"type":18,"value":1571}," // ignored by given templateType\n",{"type":13,"tag":53,"props":1573,"children":1575},{"class":55,"line":1574},60,[1576,1581,1585,1589,1593],{"type":13,"tag":53,"props":1577,"children":1578},{"style":72},[1579],{"type":18,"value":1580}," .set ",{"type":13,"tag":53,"props":1582,"children":1583},{"style":60},[1584],{"type":18,"value":872},{"type":13,"tag":53,"props":1586,"children":1587},{"style":752},[1588],{"type":18,"value":877},{"type":13,"tag":53,"props":1590,"children":1591},{"style":72},[1592],{"type":18,"value":1540},{"type":13,"tag":53,"props":1594,"children":1595},{"style":737},[1596],{"type":18,"value":1597}," // ignored by given templateType\n",{"type":13,"tag":53,"props":1599,"children":1601},{"class":55,"line":1600},61,[1602],{"type":13,"tag":53,"props":1603,"children":1604},{"style":72},[1605],{"type":18,"value":695},{"type":13,"tag":53,"props":1607,"children":1609},{"class":55,"line":1608},62,[1610],{"type":13,"tag":53,"props":1611,"children":1612},{"emptyLinePlaceholder":701},[1613],{"type":18,"value":704},{"type":13,"tag":53,"props":1615,"children":1617},{"class":55,"line":1616},63,[1618],{"type":13,"tag":53,"props":1619,"children":1620},{"style":72},[1621],{"type":18,"value":1622},"VkDescriptorUpdateTemplate myDescriptorUpdateTemplate;\n",{"type":13,"tag":53,"props":1624,"children":1626},{"class":55,"line":1625},64,[1627,1632,1636,1641],{"type":13,"tag":53,"props":1628,"children":1629},{"style":72},[1630],{"type":18,"value":1631},"myResult ",{"type":13,"tag":53,"props":1633,"children":1634},{"style":60},[1635],{"type":18,"value":872},{"type":13,"tag":53,"props":1637,"children":1638},{"style":66},[1639],{"type":18,"value":1640}," vkCreateDescriptorUpdateTemplate",{"type":13,"tag":53,"props":1642,"children":1643},{"style":72},[1644],{"type":18,"value":75},{"type":13,"tag":53,"props":1646,"children":1648},{"class":55,"line":1647},65,[1649],{"type":13,"tag":53,"props":1650,"children":1651},{"style":72},[1652],{"type":18,"value":1653}," myDevice,\n",{"type":13,"tag":53,"props":1655,"children":1657},{"class":55,"line":1656},66,[1658,1663],{"type":13,"tag":53,"props":1659,"children":1660},{"style":60},[1661],{"type":18,"value":1662}," &",{"type":13,"tag":53,"props":1664,"children":1665},{"style":72},[1666],{"type":18,"value":1667},"createInfo,\n",{"type":13,"tag":53,"props":1669,"children":1671},{"class":55,"line":1670},67,[1672,1677],{"type":13,"tag":53,"props":1673,"children":1674},{"style":752},[1675],{"type":18,"value":1676}," NULL",{"type":13,"tag":53,"props":1678,"children":1679},{"style":72},[1680],{"type":18,"value":95},{"type":13,"tag":53,"props":1682,"children":1684},{"class":55,"line":1683},68,[1685,1689],{"type":13,"tag":53,"props":1686,"children":1687},{"style":60},[1688],{"type":18,"value":1662},{"type":13,"tag":53,"props":1690,"children":1691},{"style":72},[1692],{"type":18,"value":1693},"myDescriptorUpdateTemplate);\n",{"type":13,"tag":53,"props":1695,"children":1697},{"class":55,"line":1696},69,[1698],{"type":13,"tag":53,"props":1699,"children":1700},{"emptyLinePlaceholder":701},[1701],{"type":18,"value":704},{"type":13,"tag":53,"props":1703,"children":1705},{"class":55,"line":1704},70,[1706],{"type":13,"tag":53,"props":1707,"children":1708},{"style":72},[1709],{"type":18,"value":1710},"AppDataStructure appData;\n",{"type":13,"tag":53,"props":1712,"children":1714},{"class":55,"line":1713},71,[1715],{"type":13,"tag":53,"props":1716,"children":1717},{"emptyLinePlaceholder":701},[1718],{"type":18,"value":704},{"type":13,"tag":53,"props":1720,"children":1722},{"class":55,"line":1721},72,[1723],{"type":13,"tag":53,"props":1724,"children":1725},{"style":737},[1726],{"type":18,"value":1727},"// fill appData here or cache it in your engine\n",{"type":13,"tag":53,"props":1729,"children":1731},{"class":55,"line":1730},73,[1732,1736,1741,1746],{"type":13,"tag":53,"props":1733,"children":1734},{"style":66},[1735],{"type":18,"value":4},{"type":13,"tag":53,"props":1737,"children":1738},{"style":72},[1739],{"type":18,"value":1740},"(myDevice, myDescriptorSet, myDescriptorUpdateTemplate, ",{"type":13,"tag":53,"props":1742,"children":1743},{"style":60},[1744],{"type":18,"value":1745},"&",{"type":13,"tag":53,"props":1747,"children":1748},{"style":72},[1749],{"type":18,"value":1750},"appData);\n",{"type":13,"tag":1752,"props":1753,"children":1754},"style",{},[1755],{"type":18,"value":1756},"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":47,"searchDepth":78,"depth":78,"links":1758},[],"markdown",1725732623958]