[{"data":1,"prerenderedAt":580},["ShallowReactive",2],{"$f7Sk27GpTqn0W8CJsnwWKjjjekwB10HU2gcVY9Kjpi78":3},{"title":4,"description":5,"parent":6,"structextends":7,"type":10,"xrefs":11,"body":12,"_type":579,"_id":4},"VkShaderDescriptorSetAndBindingMappingInfoEXT","Structure specifying mappings from shader resources to descriptor heaps","VK_EXT_descriptor_heap",[8,9],"VkPipelineShaderStageCreateInfo","VkShaderCreateInfoEXT","structs",[],{"type":13,"children":14,"toc":577},"root",[15,31,294,375,424,436,495,571],{"type":16,"tag":17,"props":18,"children":19},"element","p",{},[20,23,29],{"type":21,"value":22},"text","The ",{"type":16,"tag":24,"props":25,"children":27},"code",{"className":26},[],[28],{"type":21,"value":4},{"type":21,"value":30}," structure is defined\nas:",{"type":16,"tag":32,"props":33,"children":34},"code-group",{},[35,144],{"type":16,"tag":36,"props":37,"children":43},"pre",{"className":38,"code":39,"filename":40,"language":41,"meta":42,"style":42},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkShaderDescriptorSetAndBindingMappingInfoEXT {\n VkStructureType sType;\n const void* pNext;\n uint32_t mappingCount;\n const VkDescriptorSetAndBindingMappingEXT* pMappings;\n} VkShaderDescriptorSetAndBindingMappingInfoEXT;\n","C","c","",[44],{"type":16,"tag":24,"props":45,"children":46},{"__ignoreMap":42},[47,70,79,98,112,135],{"type":16,"tag":48,"props":49,"children":52},"span",{"class":50,"line":51},"line",1,[53,59,64],{"type":16,"tag":48,"props":54,"children":56},{"style":55},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[57],{"type":21,"value":58},"typedef",{"type":16,"tag":48,"props":60,"children":61},{"style":55},[62],{"type":21,"value":63}," struct",{"type":16,"tag":48,"props":65,"children":67},{"style":66},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[68],{"type":21,"value":69}," VkShaderDescriptorSetAndBindingMappingInfoEXT {\n",{"type":16,"tag":48,"props":71,"children":73},{"class":50,"line":72},2,[74],{"type":16,"tag":48,"props":75,"children":76},{"style":66},[77],{"type":21,"value":78}," VkStructureType sType;\n",{"type":16,"tag":48,"props":80,"children":82},{"class":50,"line":81},3,[83,88,93],{"type":16,"tag":48,"props":84,"children":85},{"style":55},[86],{"type":21,"value":87}," const",{"type":16,"tag":48,"props":89,"children":90},{"style":55},[91],{"type":21,"value":92}," void*",{"type":16,"tag":48,"props":94,"children":95},{"style":66},[96],{"type":21,"value":97}," pNext;\n",{"type":16,"tag":48,"props":99,"children":101},{"class":50,"line":100},4,[102,107],{"type":16,"tag":48,"props":103,"children":104},{"style":55},[105],{"type":21,"value":106}," uint32_t",{"type":16,"tag":48,"props":108,"children":109},{"style":66},[110],{"type":21,"value":111}," mappingCount;\n",{"type":16,"tag":48,"props":113,"children":115},{"class":50,"line":114},5,[116,120,125,130],{"type":16,"tag":48,"props":117,"children":118},{"style":55},[119],{"type":21,"value":87},{"type":16,"tag":48,"props":121,"children":122},{"style":66},[123],{"type":21,"value":124}," VkDescriptorSetAndBindingMappingEXT",{"type":16,"tag":48,"props":126,"children":127},{"style":55},[128],{"type":21,"value":129},"*",{"type":16,"tag":48,"props":131,"children":132},{"style":66},[133],{"type":21,"value":134}," pMappings;\n",{"type":16,"tag":48,"props":136,"children":138},{"class":50,"line":137},6,[139],{"type":16,"tag":48,"props":140,"children":141},{"style":66},[142],{"type":21,"value":143},"} VkShaderDescriptorSetAndBindingMappingInfoEXT;\n",{"type":16,"tag":36,"props":145,"children":150},{"className":146,"code":147,"filename":148,"language":149,"meta":42,"style":42},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ShaderDescriptorSetAndBindingMappingInfoEXT {\n s_type: vk::StructureType,\n p_next: *const c_void,\n mapping_count: u32,\n p_mappings: *const vk::DescriptorSetAndBindingMappingEXT,\n}\n","Rust","rs",[151],{"type":16,"tag":24,"props":152,"children":153},{"__ignoreMap":42},[154,177,210,232,253,286],{"type":16,"tag":48,"props":155,"children":156},{"class":50,"line":51},[157,162,166,172],{"type":16,"tag":48,"props":158,"children":159},{"style":55},[160],{"type":21,"value":161},"pub",{"type":16,"tag":48,"props":163,"children":164},{"style":55},[165],{"type":21,"value":63},{"type":16,"tag":48,"props":167,"children":169},{"style":168},"--shiki-default:#953800;--shiki-dark:#FFA657",[170],{"type":21,"value":171}," ShaderDescriptorSetAndBindingMappingInfoEXT",{"type":16,"tag":48,"props":173,"children":174},{"style":66},[175],{"type":21,"value":176}," {\n",{"type":16,"tag":48,"props":178,"children":179},{"class":50,"line":72},[180,185,190,195,200,205],{"type":16,"tag":48,"props":181,"children":182},{"style":66},[183],{"type":21,"value":184}," s_type",{"type":16,"tag":48,"props":186,"children":187},{"style":55},[188],{"type":21,"value":189},":",{"type":16,"tag":48,"props":191,"children":192},{"style":168},[193],{"type":21,"value":194}," vk",{"type":16,"tag":48,"props":196,"children":197},{"style":55},[198],{"type":21,"value":199},"::",{"type":16,"tag":48,"props":201,"children":202},{"style":168},[203],{"type":21,"value":204},"StructureType",{"type":16,"tag":48,"props":206,"children":207},{"style":66},[208],{"type":21,"value":209},",\n",{"type":16,"tag":48,"props":211,"children":212},{"class":50,"line":81},[213,218,222,227],{"type":16,"tag":48,"props":214,"children":215},{"style":66},[216],{"type":21,"value":217}," p_next",{"type":16,"tag":48,"props":219,"children":220},{"style":55},[221],{"type":21,"value":189},{"type":16,"tag":48,"props":223,"children":224},{"style":55},[225],{"type":21,"value":226}," *const",{"type":16,"tag":48,"props":228,"children":229},{"style":66},[230],{"type":21,"value":231}," c_void,\n",{"type":16,"tag":48,"props":233,"children":234},{"class":50,"line":100},[235,240,244,249],{"type":16,"tag":48,"props":236,"children":237},{"style":66},[238],{"type":21,"value":239}," mapping_count",{"type":16,"tag":48,"props":241,"children":242},{"style":55},[243],{"type":21,"value":189},{"type":16,"tag":48,"props":245,"children":246},{"style":168},[247],{"type":21,"value":248}," u32",{"type":16,"tag":48,"props":250,"children":251},{"style":66},[252],{"type":21,"value":209},{"type":16,"tag":48,"props":254,"children":255},{"class":50,"line":114},[256,261,265,269,273,277,282],{"type":16,"tag":48,"props":257,"children":258},{"style":66},[259],{"type":21,"value":260}," p_mappings",{"type":16,"tag":48,"props":262,"children":263},{"style":55},[264],{"type":21,"value":189},{"type":16,"tag":48,"props":266,"children":267},{"style":55},[268],{"type":21,"value":226},{"type":16,"tag":48,"props":270,"children":271},{"style":168},[272],{"type":21,"value":194},{"type":16,"tag":48,"props":274,"children":275},{"style":55},[276],{"type":21,"value":199},{"type":16,"tag":48,"props":278,"children":279},{"style":168},[280],{"type":21,"value":281},"DescriptorSetAndBindingMappingEXT",{"type":16,"tag":48,"props":283,"children":284},{"style":66},[285],{"type":21,"value":209},{"type":16,"tag":48,"props":287,"children":288},{"class":50,"line":137},[289],{"type":16,"tag":48,"props":290,"children":291},{"style":66},[292],{"type":21,"value":293},"}\n",{"type":16,"tag":295,"props":296,"children":297},"ul",{},[298,319,338,357],{"type":16,"tag":299,"props":300,"children":301},"li",{},[302,308,310,317],{"type":16,"tag":24,"props":303,"children":305},{"className":304},[],[306],{"type":21,"value":307},"sType",{"type":21,"value":309}," is a ",{"type":16,"tag":311,"props":312,"children":314},"a",{"href":313},"/man/VkStructureType",[315],{"type":21,"value":316},"VkStructureType",{"type":21,"value":318}," value identifying this structure.",{"type":16,"tag":299,"props":320,"children":321},{},[322,328,330,336],{"type":16,"tag":24,"props":323,"children":325},{"className":324},[],[326],{"type":21,"value":327},"pNext",{"type":21,"value":329}," is ",{"type":16,"tag":24,"props":331,"children":333},{"className":332},[],[334],{"type":21,"value":335},"NULL",{"type":21,"value":337}," or a pointer to a structure extending this\nstructure.",{"type":16,"tag":299,"props":339,"children":340},{},[341,347,349,355],{"type":16,"tag":24,"props":342,"children":344},{"className":343},[],[345],{"type":21,"value":346},"mappingCount",{"type":21,"value":348}," is the number of elements in ",{"type":16,"tag":24,"props":350,"children":352},{"className":351},[],[353],{"type":21,"value":354},"pMappings",{"type":21,"value":356},".",{"type":16,"tag":299,"props":358,"children":359},{},[360,365,367,373],{"type":16,"tag":24,"props":361,"children":363},{"className":362},[],[364],{"type":21,"value":354},{"type":21,"value":366}," is a pointer to an array of\n",{"type":16,"tag":311,"props":368,"children":370},{"href":369},"/man/VkDescriptorSetAndBindingMappingEXT",[371],{"type":21,"value":372},"VkDescriptorSetAndBindingMappingEXT",{"type":21,"value":374}," structures specifying mappings\nfor a set of descriptors",{"type":16,"tag":17,"props":376,"children":377},{},[378,380,385,387,392,394,399,401,406,408,414,416,422],{"type":21,"value":379},"Including this structure in the ",{"type":16,"tag":24,"props":381,"children":383},{"className":382},[],[384],{"type":21,"value":327},{"type":21,"value":386}," chain of\n",{"type":16,"tag":311,"props":388,"children":390},{"href":389},"/man/VkPipelineShaderStageCreateInfo",[391],{"type":21,"value":8},{"type":21,"value":393}," will set mappings for the shader\ndefined by that structure.\nSimilarly, including this structure in the ",{"type":16,"tag":24,"props":395,"children":397},{"className":396},[],[398],{"type":21,"value":327},{"type":21,"value":400}," chain of a\n",{"type":16,"tag":311,"props":402,"children":404},{"href":403},"/man/VkShaderCreateInfoEXT",[405],{"type":21,"value":9},{"type":21,"value":407}," with a ",{"type":16,"tag":24,"props":409,"children":411},{"className":410},[],[412],{"type":21,"value":413},"codeType",{"type":21,"value":415}," of\n",{"type":16,"tag":24,"props":417,"children":419},{"className":418},[],[420],{"type":21,"value":421},"VK_SHADER_CODE_TYPE_SPIRV_EXT",{"type":21,"value":423},", will set mappings for that shader.",{"type":16,"tag":17,"props":425,"children":426},{},[427,429,434],{"type":21,"value":428},"If this structure is not present, it is equivalent to setting\n",{"type":16,"tag":24,"props":430,"children":432},{"className":431},[],[433],{"type":21,"value":346},{"type":21,"value":435}," to 0.",{"type":16,"tag":437,"props":438,"children":440},"validity-group",{"name":439},"Valid Usage",[441],{"type":16,"tag":442,"props":443,"children":445},"validity-field",{"name":444},"VUID-VkShaderDescriptorSetAndBindingMappingInfoEXT-pMappings-11244",[446],{"type":16,"tag":17,"props":447,"children":448},{},[449,451,456,458,463,465,471,473,479,481,487,489],{"type":21,"value":450},"Any two elements of ",{"type":16,"tag":24,"props":452,"children":454},{"className":453},[],[455],{"type":21,"value":354},{"type":21,"value":457}," ",{"type":16,"tag":459,"props":460,"children":462},"normative",{"type":461},"must",[],{"type":21,"value":464}," not have the same value of\n",{"type":16,"tag":24,"props":466,"children":468},{"className":467},[],[469],{"type":21,"value":470},"descriptorSet",{"type":21,"value":472},", an overlapping range specified by\n",{"type":16,"tag":24,"props":474,"children":476},{"className":475},[],[477],{"type":21,"value":478},"firstBinding",{"type":21,"value":480}," and ",{"type":16,"tag":24,"props":482,"children":484},{"className":483},[],[485],{"type":21,"value":486},"bindingCount",{"type":21,"value":488},", and any overlapping bits in\n",{"type":16,"tag":24,"props":490,"children":492},{"className":491},[],[493],{"type":21,"value":494},"resourceMask",{"type":16,"tag":437,"props":496,"children":498},{"name":497},"Valid Usage (Implicit)",[499,523],{"type":16,"tag":442,"props":500,"children":502},{"name":501},"VUID-VkShaderDescriptorSetAndBindingMappingInfoEXT-sType-sType",[503],{"type":16,"tag":17,"props":504,"children":505},{},[506,511,512,515,517],{"type":16,"tag":24,"props":507,"children":509},{"className":508},[],[510],{"type":21,"value":307},{"type":21,"value":457},{"type":16,"tag":459,"props":513,"children":514},{"type":461},[],{"type":21,"value":516}," be ",{"type":16,"tag":24,"props":518,"children":520},{"className":519},[],[521],{"type":21,"value":522},"VK_STRUCTURE_TYPE_SHADER_DESCRIPTOR_SET_AND_BINDING_MAPPING_INFO_EXT",{"type":16,"tag":442,"props":524,"children":526},{"name":525},"VUID-VkShaderDescriptorSetAndBindingMappingInfoEXT-pMappings-parameter",[527],{"type":16,"tag":17,"props":528,"children":529},{},[530,532,537,539,545,547,552,553,556,558,563,565,569],{"type":21,"value":531},"If ",{"type":16,"tag":24,"props":533,"children":535},{"className":534},[],[536],{"type":21,"value":346},{"type":21,"value":538}," is not ",{"type":16,"tag":24,"props":540,"children":542},{"className":541},[],[543],{"type":21,"value":544},"0",{"type":21,"value":546},", ",{"type":16,"tag":24,"props":548,"children":550},{"className":549},[],[551],{"type":21,"value":354},{"type":21,"value":457},{"type":16,"tag":459,"props":554,"children":555},{"type":461},[],{"type":21,"value":557}," be a valid pointer to an array of ",{"type":16,"tag":24,"props":559,"children":561},{"className":560},[],[562],{"type":21,"value":346},{"type":21,"value":564}," valid ",{"type":16,"tag":311,"props":566,"children":567},{"href":369},[568],{"type":21,"value":372},{"type":21,"value":570}," structures",{"type":16,"tag":572,"props":573,"children":574},"style",{},[575],{"type":21,"value":576},"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":42,"searchDepth":72,"depth":72,"links":578},[],"markdown",1773054777522]