[{"data":1,"prerenderedAt":747},["ShallowReactive",2],{"$fSjP9HZ9M3QzjGo3Kv4NTrurbw7AuslkhsUL9siRtroo":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":746,"_id":4},"VkDescriptorMappingSourceEXT","Specifies the mapping source for a shader binding","VK_EXT_descriptor_heap","enums",[],{"type":10,"children":11,"toc":744},"root",[12,20,612,738],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","The possible mapping sources for a shader binding are:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,248],{"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","typedef enum VkDescriptorMappingSourceEXT {\n VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_CONSTANT_OFFSET_EXT = 0,\n VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_PUSH_INDEX_EXT = 1,\n VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_INDIRECT_INDEX_EXT = 2,\n VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_INDIRECT_INDEX_ARRAY_EXT = 3,\n VK_DESCRIPTOR_MAPPING_SOURCE_RESOURCE_HEAP_DATA_EXT = 4,\n VK_DESCRIPTOR_MAPPING_SOURCE_PUSH_DATA_EXT = 5,\n VK_DESCRIPTOR_MAPPING_SOURCE_PUSH_ADDRESS_EXT = 6,\n VK_DESCRIPTOR_MAPPING_SOURCE_INDIRECT_ADDRESS_EXT = 7,\n} VkDescriptorMappingSourceEXT;\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,60,85,107,129,151,173,195,217,239],{"type":13,"tag":38,"props":39,"children":42},"span",{"class":40,"line":41},"line",1,[43,49,54],{"type":13,"tag":38,"props":44,"children":46},{"style":45},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[47],{"type":18,"value":48},"typedef",{"type":13,"tag":38,"props":50,"children":51},{"style":45},[52],{"type":18,"value":53}," enum",{"type":13,"tag":38,"props":55,"children":57},{"style":56},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[58],{"type":18,"value":59}," VkDescriptorMappingSourceEXT {\n",{"type":13,"tag":38,"props":61,"children":63},{"class":40,"line":62},2,[64,69,74,80],{"type":13,"tag":38,"props":65,"children":66},{"style":56},[67],{"type":18,"value":68}," VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_CONSTANT_OFFSET_EXT ",{"type":13,"tag":38,"props":70,"children":71},{"style":45},[72],{"type":18,"value":73},"=",{"type":13,"tag":38,"props":75,"children":77},{"style":76},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[78],{"type":18,"value":79}," 0",{"type":13,"tag":38,"props":81,"children":82},{"style":56},[83],{"type":18,"value":84},",\n",{"type":13,"tag":38,"props":86,"children":88},{"class":40,"line":87},3,[89,94,98,103],{"type":13,"tag":38,"props":90,"children":91},{"style":56},[92],{"type":18,"value":93}," VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_PUSH_INDEX_EXT ",{"type":13,"tag":38,"props":95,"children":96},{"style":45},[97],{"type":18,"value":73},{"type":13,"tag":38,"props":99,"children":100},{"style":76},[101],{"type":18,"value":102}," 1",{"type":13,"tag":38,"props":104,"children":105},{"style":56},[106],{"type":18,"value":84},{"type":13,"tag":38,"props":108,"children":110},{"class":40,"line":109},4,[111,116,120,125],{"type":13,"tag":38,"props":112,"children":113},{"style":56},[114],{"type":18,"value":115}," VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_INDIRECT_INDEX_EXT ",{"type":13,"tag":38,"props":117,"children":118},{"style":45},[119],{"type":18,"value":73},{"type":13,"tag":38,"props":121,"children":122},{"style":76},[123],{"type":18,"value":124}," 2",{"type":13,"tag":38,"props":126,"children":127},{"style":56},[128],{"type":18,"value":84},{"type":13,"tag":38,"props":130,"children":132},{"class":40,"line":131},5,[133,138,142,147],{"type":13,"tag":38,"props":134,"children":135},{"style":56},[136],{"type":18,"value":137}," VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_INDIRECT_INDEX_ARRAY_EXT ",{"type":13,"tag":38,"props":139,"children":140},{"style":45},[141],{"type":18,"value":73},{"type":13,"tag":38,"props":143,"children":144},{"style":76},[145],{"type":18,"value":146}," 3",{"type":13,"tag":38,"props":148,"children":149},{"style":56},[150],{"type":18,"value":84},{"type":13,"tag":38,"props":152,"children":154},{"class":40,"line":153},6,[155,160,164,169],{"type":13,"tag":38,"props":156,"children":157},{"style":56},[158],{"type":18,"value":159}," VK_DESCRIPTOR_MAPPING_SOURCE_RESOURCE_HEAP_DATA_EXT ",{"type":13,"tag":38,"props":161,"children":162},{"style":45},[163],{"type":18,"value":73},{"type":13,"tag":38,"props":165,"children":166},{"style":76},[167],{"type":18,"value":168}," 4",{"type":13,"tag":38,"props":170,"children":171},{"style":56},[172],{"type":18,"value":84},{"type":13,"tag":38,"props":174,"children":176},{"class":40,"line":175},7,[177,182,186,191],{"type":13,"tag":38,"props":178,"children":179},{"style":56},[180],{"type":18,"value":181}," VK_DESCRIPTOR_MAPPING_SOURCE_PUSH_DATA_EXT ",{"type":13,"tag":38,"props":183,"children":184},{"style":45},[185],{"type":18,"value":73},{"type":13,"tag":38,"props":187,"children":188},{"style":76},[189],{"type":18,"value":190}," 5",{"type":13,"tag":38,"props":192,"children":193},{"style":56},[194],{"type":18,"value":84},{"type":13,"tag":38,"props":196,"children":198},{"class":40,"line":197},8,[199,204,208,213],{"type":13,"tag":38,"props":200,"children":201},{"style":56},[202],{"type":18,"value":203}," VK_DESCRIPTOR_MAPPING_SOURCE_PUSH_ADDRESS_EXT ",{"type":13,"tag":38,"props":205,"children":206},{"style":45},[207],{"type":18,"value":73},{"type":13,"tag":38,"props":209,"children":210},{"style":76},[211],{"type":18,"value":212}," 6",{"type":13,"tag":38,"props":214,"children":215},{"style":56},[216],{"type":18,"value":84},{"type":13,"tag":38,"props":218,"children":220},{"class":40,"line":219},9,[221,226,230,235],{"type":13,"tag":38,"props":222,"children":223},{"style":56},[224],{"type":18,"value":225}," VK_DESCRIPTOR_MAPPING_SOURCE_INDIRECT_ADDRESS_EXT ",{"type":13,"tag":38,"props":227,"children":228},{"style":45},[229],{"type":18,"value":73},{"type":13,"tag":38,"props":231,"children":232},{"style":76},[233],{"type":18,"value":234}," 7",{"type":13,"tag":38,"props":236,"children":237},{"style":56},[238],{"type":18,"value":84},{"type":13,"tag":38,"props":240,"children":242},{"class":40,"line":241},10,[243],{"type":13,"tag":38,"props":244,"children":245},{"style":56},[246],{"type":18,"value":247},"} VkDescriptorMappingSourceEXT;\n",{"type":13,"tag":25,"props":249,"children":254},{"className":250,"code":251,"filename":252,"language":253,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct DescriptorMappingSourceEXT(u32);\nimpl DescriptorMappingSourceEXT {\n pub const HEAP_WITH_CONSTANT_OFFSET: Self = 0;\n pub const HEAP_WITH_PUSH_INDEX: Self = 1;\n pub const HEAP_WITH_INDIRECT_INDEX: Self = 2;\n pub const HEAP_WITH_INDIRECT_INDEX_ARRAY: Self = 3;\n pub const RESOURCE_HEAP_DATA: Self = 4;\n pub const PUSH_DATA: Self = 5;\n pub const PUSH_ADDRESS: Self = 6;\n pub const INDIRECT_ADDRESS: Self = 7;\n}\n","Rust","rs",[255],{"type":13,"tag":34,"props":256,"children":257},{"__ignoreMap":31},[258,292,309,351,387,423,459,495,531,567,603],{"type":13,"tag":38,"props":259,"children":260},{"class":40,"line":41},[261,266,271,277,282,287],{"type":13,"tag":38,"props":262,"children":263},{"style":45},[264],{"type":18,"value":265},"pub",{"type":13,"tag":38,"props":267,"children":268},{"style":45},[269],{"type":18,"value":270}," struct",{"type":13,"tag":38,"props":272,"children":274},{"style":273},"--shiki-default:#953800;--shiki-dark:#FFA657",[275],{"type":18,"value":276}," DescriptorMappingSourceEXT",{"type":13,"tag":38,"props":278,"children":279},{"style":56},[280],{"type":18,"value":281},"(",{"type":13,"tag":38,"props":283,"children":284},{"style":273},[285],{"type":18,"value":286},"u32",{"type":13,"tag":38,"props":288,"children":289},{"style":56},[290],{"type":18,"value":291},");\n",{"type":13,"tag":38,"props":293,"children":294},{"class":40,"line":62},[295,300,304],{"type":13,"tag":38,"props":296,"children":297},{"style":45},[298],{"type":18,"value":299},"impl",{"type":13,"tag":38,"props":301,"children":302},{"style":273},[303],{"type":18,"value":276},{"type":13,"tag":38,"props":305,"children":306},{"style":56},[307],{"type":18,"value":308}," {\n",{"type":13,"tag":38,"props":310,"children":311},{"class":40,"line":87},[312,317,322,327,332,337,342,346],{"type":13,"tag":38,"props":313,"children":314},{"style":45},[315],{"type":18,"value":316}," pub",{"type":13,"tag":38,"props":318,"children":319},{"style":45},[320],{"type":18,"value":321}," const",{"type":13,"tag":38,"props":323,"children":324},{"style":76},[325],{"type":18,"value":326}," HEAP_WITH_CONSTANT_OFFSET",{"type":13,"tag":38,"props":328,"children":329},{"style":45},[330],{"type":18,"value":331},":",{"type":13,"tag":38,"props":333,"children":334},{"style":76},[335],{"type":18,"value":336}," Self",{"type":13,"tag":38,"props":338,"children":339},{"style":45},[340],{"type":18,"value":341}," =",{"type":13,"tag":38,"props":343,"children":344},{"style":76},[345],{"type":18,"value":79},{"type":13,"tag":38,"props":347,"children":348},{"style":56},[349],{"type":18,"value":350},";\n",{"type":13,"tag":38,"props":352,"children":353},{"class":40,"line":109},[354,358,362,367,371,375,379,383],{"type":13,"tag":38,"props":355,"children":356},{"style":45},[357],{"type":18,"value":316},{"type":13,"tag":38,"props":359,"children":360},{"style":45},[361],{"type":18,"value":321},{"type":13,"tag":38,"props":363,"children":364},{"style":76},[365],{"type":18,"value":366}," HEAP_WITH_PUSH_INDEX",{"type":13,"tag":38,"props":368,"children":369},{"style":45},[370],{"type":18,"value":331},{"type":13,"tag":38,"props":372,"children":373},{"style":76},[374],{"type":18,"value":336},{"type":13,"tag":38,"props":376,"children":377},{"style":45},[378],{"type":18,"value":341},{"type":13,"tag":38,"props":380,"children":381},{"style":76},[382],{"type":18,"value":102},{"type":13,"tag":38,"props":384,"children":385},{"style":56},[386],{"type":18,"value":350},{"type":13,"tag":38,"props":388,"children":389},{"class":40,"line":131},[390,394,398,403,407,411,415,419],{"type":13,"tag":38,"props":391,"children":392},{"style":45},[393],{"type":18,"value":316},{"type":13,"tag":38,"props":395,"children":396},{"style":45},[397],{"type":18,"value":321},{"type":13,"tag":38,"props":399,"children":400},{"style":76},[401],{"type":18,"value":402}," HEAP_WITH_INDIRECT_INDEX",{"type":13,"tag":38,"props":404,"children":405},{"style":45},[406],{"type":18,"value":331},{"type":13,"tag":38,"props":408,"children":409},{"style":76},[410],{"type":18,"value":336},{"type":13,"tag":38,"props":412,"children":413},{"style":45},[414],{"type":18,"value":341},{"type":13,"tag":38,"props":416,"children":417},{"style":76},[418],{"type":18,"value":124},{"type":13,"tag":38,"props":420,"children":421},{"style":56},[422],{"type":18,"value":350},{"type":13,"tag":38,"props":424,"children":425},{"class":40,"line":153},[426,430,434,439,443,447,451,455],{"type":13,"tag":38,"props":427,"children":428},{"style":45},[429],{"type":18,"value":316},{"type":13,"tag":38,"props":431,"children":432},{"style":45},[433],{"type":18,"value":321},{"type":13,"tag":38,"props":435,"children":436},{"style":76},[437],{"type":18,"value":438}," HEAP_WITH_INDIRECT_INDEX_ARRAY",{"type":13,"tag":38,"props":440,"children":441},{"style":45},[442],{"type":18,"value":331},{"type":13,"tag":38,"props":444,"children":445},{"style":76},[446],{"type":18,"value":336},{"type":13,"tag":38,"props":448,"children":449},{"style":45},[450],{"type":18,"value":341},{"type":13,"tag":38,"props":452,"children":453},{"style":76},[454],{"type":18,"value":146},{"type":13,"tag":38,"props":456,"children":457},{"style":56},[458],{"type":18,"value":350},{"type":13,"tag":38,"props":460,"children":461},{"class":40,"line":175},[462,466,470,475,479,483,487,491],{"type":13,"tag":38,"props":463,"children":464},{"style":45},[465],{"type":18,"value":316},{"type":13,"tag":38,"props":467,"children":468},{"style":45},[469],{"type":18,"value":321},{"type":13,"tag":38,"props":471,"children":472},{"style":76},[473],{"type":18,"value":474}," RESOURCE_HEAP_DATA",{"type":13,"tag":38,"props":476,"children":477},{"style":45},[478],{"type":18,"value":331},{"type":13,"tag":38,"props":480,"children":481},{"style":76},[482],{"type":18,"value":336},{"type":13,"tag":38,"props":484,"children":485},{"style":45},[486],{"type":18,"value":341},{"type":13,"tag":38,"props":488,"children":489},{"style":76},[490],{"type":18,"value":168},{"type":13,"tag":38,"props":492,"children":493},{"style":56},[494],{"type":18,"value":350},{"type":13,"tag":38,"props":496,"children":497},{"class":40,"line":197},[498,502,506,511,515,519,523,527],{"type":13,"tag":38,"props":499,"children":500},{"style":45},[501],{"type":18,"value":316},{"type":13,"tag":38,"props":503,"children":504},{"style":45},[505],{"type":18,"value":321},{"type":13,"tag":38,"props":507,"children":508},{"style":76},[509],{"type":18,"value":510}," PUSH_DATA",{"type":13,"tag":38,"props":512,"children":513},{"style":45},[514],{"type":18,"value":331},{"type":13,"tag":38,"props":516,"children":517},{"style":76},[518],{"type":18,"value":336},{"type":13,"tag":38,"props":520,"children":521},{"style":45},[522],{"type":18,"value":341},{"type":13,"tag":38,"props":524,"children":525},{"style":76},[526],{"type":18,"value":190},{"type":13,"tag":38,"props":528,"children":529},{"style":56},[530],{"type":18,"value":350},{"type":13,"tag":38,"props":532,"children":533},{"class":40,"line":219},[534,538,542,547,551,555,559,563],{"type":13,"tag":38,"props":535,"children":536},{"style":45},[537],{"type":18,"value":316},{"type":13,"tag":38,"props":539,"children":540},{"style":45},[541],{"type":18,"value":321},{"type":13,"tag":38,"props":543,"children":544},{"style":76},[545],{"type":18,"value":546}," PUSH_ADDRESS",{"type":13,"tag":38,"props":548,"children":549},{"style":45},[550],{"type":18,"value":331},{"type":13,"tag":38,"props":552,"children":553},{"style":76},[554],{"type":18,"value":336},{"type":13,"tag":38,"props":556,"children":557},{"style":45},[558],{"type":18,"value":341},{"type":13,"tag":38,"props":560,"children":561},{"style":76},[562],{"type":18,"value":212},{"type":13,"tag":38,"props":564,"children":565},{"style":56},[566],{"type":18,"value":350},{"type":13,"tag":38,"props":568,"children":569},{"class":40,"line":241},[570,574,578,583,587,591,595,599],{"type":13,"tag":38,"props":571,"children":572},{"style":45},[573],{"type":18,"value":316},{"type":13,"tag":38,"props":575,"children":576},{"style":45},[577],{"type":18,"value":321},{"type":13,"tag":38,"props":579,"children":580},{"style":76},[581],{"type":18,"value":582}," INDIRECT_ADDRESS",{"type":13,"tag":38,"props":584,"children":585},{"style":45},[586],{"type":18,"value":331},{"type":13,"tag":38,"props":588,"children":589},{"style":76},[590],{"type":18,"value":336},{"type":13,"tag":38,"props":592,"children":593},{"style":45},[594],{"type":18,"value":341},{"type":13,"tag":38,"props":596,"children":597},{"style":76},[598],{"type":18,"value":234},{"type":13,"tag":38,"props":600,"children":601},{"style":56},[602],{"type":18,"value":350},{"type":13,"tag":38,"props":604,"children":606},{"class":40,"line":605},11,[607],{"type":13,"tag":38,"props":608,"children":609},{"style":56},[610],{"type":18,"value":611},"}\n",{"type":13,"tag":613,"props":614,"children":615},"ul",{},[616,628,639,650,661,672,683,694,705,716,727],{"type":13,"tag":617,"props":618,"children":619},"li",{},[620,626],{"type":13,"tag":34,"props":621,"children":623},{"className":622},[],[624],{"type":18,"value":625},"VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_CONSTANT_OFFSET_EXT",{"type":18,"value":627},"\nspecifies that the resource will be backed by a descriptor from the heap\nat a constant index.",{"type":13,"tag":617,"props":629,"children":630},{},[631,637],{"type":13,"tag":34,"props":632,"children":634},{"className":633},[],[635],{"type":18,"value":636},"VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_PUSH_INDEX_EXT",{"type":18,"value":638}," specifies\nthat the resource will be backed by a descriptor from the heap at an\nindex sourced from push data, added to a constant index.",{"type":13,"tag":617,"props":640,"children":641},{},[642,648],{"type":13,"tag":34,"props":643,"children":645},{"className":644},[],[646],{"type":18,"value":647},"VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_INDIRECT_INDEX_EXT",{"type":18,"value":649},"\nspecifies that the resource will be backed by a descriptor from the heap\nat an index sourced from an address in push data, added to a constant\nindex.\nIf the mapping is an array, the array will be mapped to a base offset in\nindirect memory, and subsequent elements are mapped as offsets to that\nbase.",{"type":13,"tag":617,"props":651,"children":652},{},[653,659],{"type":13,"tag":34,"props":654,"children":656},{"className":655},[],[657],{"type":18,"value":658},"VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_INDIRECT_INDEX_ARRAY_EXT",{"type":18,"value":660},"\nspecifies that the resource will be backed by a descriptor from the heap\nat an index sourced from an address in push data, added to a constant\nindex.\nIf the mapping is an array, each array element will be mapped to a\nseparate index in indirect memory.",{"type":13,"tag":617,"props":662,"children":663},{},[664,670],{"type":13,"tag":34,"props":665,"children":667},{"className":666},[],[668],{"type":18,"value":669},"VK_DESCRIPTOR_MAPPING_SOURCE_RESOURCE_HEAP_DATA_EXT",{"type":18,"value":671}," specifies that\nthe resource will be backed by heap data directly.",{"type":13,"tag":617,"props":673,"children":674},{},[675,681],{"type":13,"tag":34,"props":676,"children":678},{"className":677},[],[679],{"type":18,"value":680},"VK_DESCRIPTOR_MAPPING_SOURCE_PUSH_DATA_EXT",{"type":18,"value":682}," specifies that the\nresource will be backed by push data directly.",{"type":13,"tag":617,"props":684,"children":685},{},[686,692],{"type":13,"tag":34,"props":687,"children":689},{"className":688},[],[690],{"type":18,"value":691},"VK_DESCRIPTOR_MAPPING_SOURCE_PUSH_ADDRESS_EXT",{"type":18,"value":693}," specifies that the\nresource will be backed by an address in push data.",{"type":13,"tag":617,"props":695,"children":696},{},[697,703],{"type":13,"tag":34,"props":698,"children":700},{"className":699},[],[701],{"type":18,"value":702},"VK_DESCRIPTOR_MAPPING_SOURCE_INDIRECT_ADDRESS_EXT",{"type":18,"value":704}," specifies that\nthe resource will be backed by an address sourced via another address in\npush data.",{"type":13,"tag":617,"props":706,"children":707},{},[708,714],{"type":13,"tag":34,"props":709,"children":711},{"className":710},[],[712],{"type":18,"value":713},"VK_DESCRIPTOR_MAPPING_SOURCE_HEAP_WITH_SHADER_RECORD_INDEX_EXT",{"type":18,"value":715},"\nspecifies that the resource will be backed by a descriptor from the heap\nat an index sourced from shader record data, added to a constant index.",{"type":13,"tag":617,"props":717,"children":718},{},[719,725],{"type":13,"tag":34,"props":720,"children":722},{"className":721},[],[723],{"type":18,"value":724},"VK_DESCRIPTOR_MAPPING_SOURCE_SHADER_RECORD_DATA_EXT",{"type":18,"value":726}," specifies that\nthe resource will be backed by shader record data directly.",{"type":13,"tag":617,"props":728,"children":729},{},[730,736],{"type":13,"tag":34,"props":731,"children":733},{"className":732},[],[734],{"type":18,"value":735},"VK_DESCRIPTOR_MAPPING_SOURCE_SHADER_RECORD_ADDRESS_EXT",{"type":18,"value":737}," specifies\nthat the resource will be backed by an address in shader record data.",{"type":13,"tag":739,"props":740,"children":741},"style",{},[742],{"type":18,"value":743},"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":62,"depth":62,"links":745},[],"markdown",1773054746693]